Blogs in 2021
7/9/2021·1 min read
4/1/2021·2 min read
3/20/2021·2 min read
This blog provides a quick guide on how to set up CloudWatch Agent manually on EC2 Linux Instance, CloudWatch Agent enables you to collect system or custom metrics from Amazon EC2 instances across operating systems. You can install CloudWatch Agent on AWS Cloud or on-promise server, Linux, or Windows as well.
3/7/2021·3 min read
AWS CloudTrail helps you record all API call at your AWS account, it enables you to detect who is making what kind of changes to the AWS environment.
3/5/2021·1 min read
This blog shows how to send MongoDB log files to AWS CloudWatch logs, you can spend multiple logs to the AWS CloudWatch logs by defining the awslogs.config file.
3/5/2021·1 min read
Here, I provide examples of how to use CloudWatch Insights to search or analyze log data in CloudWatch logs. You can query to one Log group or multiple logs together to analyze the data, you can also save the query and save the result to the CloudWatch dashboard as well.
3/2/2021·3 min read
This blog shows how to send application logs from Amazon Linux 2 EC2 Instance to AWS CloudWatch logs, it'll include how to set up and configure.
3/1/2021·5 min read
Starting from July 27, 2021, the AWS Certified SysOps Administrator - Associate exam has been updated, the exam changed from SOA-C01 to SOA-C02. This blog will help to prepare for the exam base on their exam guide. Below are setlist of question during the review for the exam guide, these are just a few questions when we reading the guide, it won't guarantee to pass the exam if you know all but at least will help you better to prepare the exam.
3/1/2021·10 min read
This blog is a complete guide that shows how to set up HTTPS node.js webserver on EC2 from beginning to end. It'll include how to set up a simple Express.js web app on EC2, how to create an SSL/TSL certificate by using AWS Certificate Manager, how to setup AWS application load balancer and create redirect rule from non-www to www, HTTP to HTTPS, and how to use Route 53 to configure a route from your custom domain to the AWS application load balancer. This blog will assume using example.com, at the end of the blog, we'd like all the http://example.com, http://www.example.com, https://example.com redirect to https://www.example.com.
2/20/2021·9 min read
This blog is talking about design principles in software development. It includes DRY, Soc, DIE and few more wildly used design principle and provide example code.
2/17/2021·8 min read
This blog is talking about design principles in software development. It includes DRY, Soc, DIE, SOLID and few more wildly used design principle and provide example code.
2/15/2021·2 min read
So CloudWatch logs are not free, but there's no up-front cost and the price is cheap to get started. Here are few things you can pay attention for the CloudWatch logs.
2/13/2021·5 min read
This blog shows how to migrate DynamoDB data between different AWS Account. You can migrate DynamoDB by using different approaches. 1. AWS S3 with AWS Glue. 2. Data Pipeline. 3. Amazon EMR, here, we'll use S3 and focus on how to move DynamoDB backup data into different AWS account.
2/11/2021·4 min read
This blog shows how to move S3 Bucket content from one AWS account to another AWS account.
2/8/2021·6 min read
This blog shows how to create a private REST API, and then will consume by the EC2 Linux Instance. It will use the AWS API Gateway to build a private REST API and use the existing VPC endpoint to communicate from EC2 to REST API. The traffic from EC2 to REST API will not go through the public internet.
2/3/2021·1 min read
This blog shows how to set up MongoDB 4.4 Community version on windows 10 as a local development environment, create a simple database, table, and collection, and how to backup and store data by using mongoexport and mongoimport.