Category AWS
Share experience about AWS
How to Create AWS EC2 by Terraform
2023/2/3·6 min readThis blog will demonstrate how to setup AWS EC2 with Terraform at local
How to Change DNS Nameservers from Godaddy to Point to AWS Route 53
2022/8/9·1 min readThis blog shows how to change your DNS Nameservers from Godaddy to point to the AWS Route 53. Assume you have registered a DNSdomain at Godaddy, but you want to host a website at AWS, here will provide steps on how to achieve this goal.
How to Auto Remediate AWS resources By Using AWS Config
2021/9/11·1 min readAWS Config is a service that will record and evaluate all the changes at your AWS services, it will also provide remediate thechanges. This blog will demo how to use AWS Config to auto remediate S3 bucket to enable the versioning.
How to Deploy Lambda with Node.js with Package Dependencies
2021/5/6·4 min readAWS Lambda is serverless compute service and let you run code at AWS's managing servers on the cloud, you will only worry aboutyour code and AWS will manage the underneath servers. This blog is trying to show how to get start with Lambda by use Node.js withpackage dependencies, the code will include one dependency module util, it'll will use zip to compress the index.js andnode_modules folder.
How to Deploy Lambda with Node.js without Dependencies
2021/5/3·3 min readAWS Lambda is serverless compute service and let you run code at AWS's managing servers on the cloud, you will only worry aboutyour code and AWS will manage the underneath servers. This blog is trying to show how to get start with Lambda by use Node.js withNo package dependencies.
How to Self-Hosted Sentry.io at AWS EC2
2021/5/1·3 min readThis blog shows how to self-hosted Sentry.io with AWS EC2.
List of AWS CloudTrail Record Fields
2021/3/7·3 min readAWS CloudTrail helps you record all API call at your AWS account, it enables you to detect who is making what kind of changes tothe AWS environment.
How to Send MongoDB Logs to CloudWatch Logs
2021/3/5·1 min readThis blog shows how to send MongoDB log files to AWS CloudWatch logs, you can spend multiple logs to the AWS CloudWatch logs bydefining the awslogs.config file.
How to Use CloudWatch Logs Insights to Analyze Logs
2021/3/5·1 min readHere, I provide examples of how to use CloudWatch Insights to search or analyze log data in CloudWatch logs. You can query to oneLog group or multiple logs together to analyze the data, you can also save the query and save the result to the CloudWatchdashboard as well.
How to Collect Memory Disk Usage By Using CloudWatch Agent
2021/3/20·2 min readThis blog provides a quick guide on how to set up CloudWatch Agent manually on EC2 Linux Instance, CloudWatch Agent enables you tocollect system or custom metrics from Amazon EC2 instances across operating systems. You can install CloudWatch Agent on AWS Cloudor on-promise server, Linux, or Windows as well.
How to Send Application Logs from EC2 to CloudWatch Logs
2021/3/2·3 min readThis blog shows how to send application logs from Amazon Linux 2 EC2 Instance to AWS CloudWatch logs, it'll include how to set upand configure.
How to Pass AWS Certified SysOps Administrator - Associate SOA-C02 - Study Question List
2021/3/1·5 min readStarting from July 27, 2021, the AWS Certified SysOps Administrator - Associate exam has been updated, the exam changed fromSOA-C01 to SOA-C02. This blog will help to prepare for the exam base on their exam guide. Below are setlist of question during thereview for the exam guide, these are just a few questions when we reading the guide, it won't guarantee to pass the exam if youknow all but at least will help you better to prepare the exam.
How to Setup a HTTPS Node JS Server on Amazon EC2
2021/3/1·10 min readThis blog is a complete guide that shows how to set up HTTPS node.js web server 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`.
How Much does CloudWatch Logs Cost
2021/2/15·2 min readSo 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 canpay attention for the CloudWatch logs.
How to Backup DynamoDB Data to Different AWS Account
2021/2/13·5 min readThis blog shows how to migrate DynamoDB data between different AWS Account. You can migrate DynamoDB by using differentapproaches. 1. AWS S3 with AWS Glue. 2. Data Pipeline. 3. Amazon EMR, here, we'll use S3 and focus on how to move DynamoDB backupdata into different AWS account.
Setting Up Next.js on AWS EC2 Instance
2021/10/2·1 min readNext.js is a React-based web application framework built on top of Node.js web application, AWS EC2 is Amazon AWS Service's cloudcomputing which hosts the VM in the cloud. In this tutorial, we will manually create an EC2 instance and then SSH into theinstance and install and set up the Next.js.
Upload to AWS S3 By Using Node.js
2021/1/16·1 min readThis blog is to show some sample code that how to upload files to AWS by Node.js.
Create AWS Classic Load Balancer
2020/3/4·1 min readThis blog shows how to use AWS classic Load Balancer from scratch, first we need to do some preparation. At the end of the setup,you'll set up 2 EC2 instances with the public subnet.
Blocking Traffic from Specific IP Address with AWS Network ACL
2020/3/2·1 min readThis blog shows few ways of use AWS Network ACLs to block traffic to your site.
How to Create AWS Organization - For Consolidated Billing
2020/2/11·1 min readIf you just have 1 AWS account, you could just use that account for billing and development. However, if you have multiple AWSaccounts, it is hard to manage each account's billing, so AWS has a way that is using AWS Organizations to consolidate billing.
Backup AWS DynamoDB Table to Local
2020/12/31·1 min readThis blog shows how to backup your AWS DynamoDB table (on the cloud) to your local DynamoDB environment.
Move DynamoDB Table from Local to AWS Cloud
2020/12/31·1 min readThis blog shows how to move DynamoDB local table and data to the DynamoDB Web Service, unlike SQL Database, you can use the backupfile to restore to a different environment.
Create DynamoDB Table Locally
2020/12/30·1 min readThis blog will show how to create a DynamoDB table in your local environment.
How to Setting up DynamoDB Locally
2020/12/12·1 min readThis blog I'll show how to set up DynamoDB locally, also show a few simple codes to access local DynamoDB.
How to Increase AWS EBS Volume Size
2020/12/11·1 min readThis quick note shows how to increase AWS EC2 Linux's EBS volume size.
Build and Deploy with AWS CodePipeline
2019/3/1·4 min readHow to Setup Node.JS Web Server to AWS with ECS and Fargate
2022/10/11·10 min readThis blog will focus on how to create simple Node.js by using Docker, then later push the docker image to AWS ECR and ECS and use AWS Fargate to serve this Node.js Web Server.
How to Setup Node.JS Web Server to AWS with ECS
2022/10/11·10 min readThis blog will focus on how to create simple Node.js by using Docker, then later push the docker image to AWS ECR and ECS and use AWS Fargate to serve this Node.js Web Server.
How to Retrieve EC2 Instance Meta Information
2020/4/1·1 min readFew commands to get information for EC2 meta information.
How to Setup AWS Application Load Balancer
2020/2/4·1 min readThis blog will show how to create an AWS application load balancer with custom VPC's EC2 instances.
How to Create VPC with Public and Private Subnet
2020/2/12·1 min readThis blog shows how to create AWS VPC from scratch.
How to do S3 Cross Region Replication
2020/1/21·1 min readThis blog shows how to using s3 replication within your current AWS account.
How to Set Up Billing Alarm in AWS
2020/1/14·1 min readThis blog shows how to set up billing alarms in AWS.
How to Deploy Node.js App to the AWS Elastic Beanstalk
2019/1/1·1 min readHow to deploy a Node.js app to AWS Elastic Beanstalk.
SSH to EC2 Instance from Mac OS
2020/1/23·1 min readThis blog shows how to connect to AWS Linux or Ubuntu from Mac OS
SSH to EC2 Instance via Chrome Extension Secure Shell
2020/1/19·1 min readThis blog shows how to ssh to EC2 Instance via Chrome Extension Secure Shell.
SSH to EC2 Instance via EC2 Instance Connect
2020/1/18·1 min readThis blog shows how to use AWS Instance Connect to SSH to AWS EC2 Instance.
Share S3 Bucket Between AWS Account
2020/1/13·1 min readThis blog shows how to share an s3 bucket cross different AWS account.
Use AWS Elastic IP Address
2020/4/9·1 min readThis blog will show how to use AWS elastic IP to assign to EC Instance.
Use VPC Flow Logs
2020/3/11·1 min readThis blog shows how to set up VPC flow logs.
Provision AWS EC2 Instance
2020/1/23·1 min readThis blog shows how to create EC2 instance.