Cloud
Share experience about cloud technology
How to Create AWS EC2 by Terraform
2023/02/03·2 min readThis blog demonstrates how to set up AWS EC2 with Terraform locally.
How to Setup Node.JS Web Server to AWS with ECS and Fargate
2022/10/11·6 min readThis blog will focus on how to create a simple Node.js app using Docker, then 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·6 min readThis blog will focus on how to create a simple Node.js app using Docker, then push the Docker image to AWS ECR and ECS and use AWS Fargate to serve this Node.js web server.
How to Change DNS Nameservers from Godaddy to Point to AWS Route 53
2022/08/09·2 min readThis blog shows how to change your DNS nameservers from GoDaddy to point to AWS Route 53. Assuming you have registered a DNS domain at GoDaddy but want to host a website at AWS, this guide provides steps on how to achieve this goal.
Setting Up Next.js on AWS EC2 Instance
2021/10/02·2 min readNext.js is a React-based web application framework built on top of Node.js. AWS EC2 is Amazon's cloud computing service which hosts VMs in the cloud. In this tutorial, we will manually create an EC2 instance, SSH into it, and install and set up Next.js.
How to Auto Remediate AWS resources By Using AWS Config
2021/09/11·1 min readAWS Config is a service that will record and evaluate all the changes at your AWS services, it will also provide remediation for the changes. This blog will demo how to use AWS Config to auto remediate S3 bucket to enable the versioning.
Use Lambda with Node.js to Insert Data Into DynamoDB
2021/06/01·2 min readThis blog shows how to create an AWS Lambda with Node.js and insert a record into DynamoDB. It also shows how to manually deploy Lambda as a package to AWS from your local development environment.
How to Deploy Lambda with Node.js with Package Dependencies
2021/05/06·3 min readAWS Lambda is a serverless compute service that lets you run code on AWS-managed servers in the cloud. You only need to worry about your code, and AWS will manage the underlying servers. This blog shows how to get started with Lambda using Node.js with package dependencies. The code includes one dependency module, util, and uses zip to compress the index.js and node_modules folder.
How to Deploy Lambda with Node.js without Dependencies
2021/05/03·3 min readAWS Lambda is a serverless compute service that lets you run code on AWS-managed servers in the cloud. You only need to worry about your code, and AWS will manage the underlying servers. This blog shows how to get started with Lambda using Node.js with no package dependencies.
How to Self-Host Sentry.io on AWS EC2
2021/05/01·3 min readThis blog shows how to self-host Sentry.io on an AWS EC2 instance.
How to Collect Memory Disk Usage By Using CloudWatch Agent
2021/03/20·2 min readThis blog provides a quick guide on how to set up CloudWatch Agent manually on an 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-premises servers, Linux, or Windows as well.
List of AWS CloudTrail Record Fields
2021/03/07·1 min readAWS CloudTrail helps you record all API calls in your AWS account, enabling you to detect who is making what kind of changes to the AWS environment.
How to Send MongoDB Logs to CloudWatch Logs
2021/03/05·1 min readThis blog shows how to send MongoDB log files to AWS CloudWatch Logs. You can send multiple logs to AWS CloudWatch Logs by defining the awslogs.conf file.
How to Use CloudWatch Logs Insights to Analyze Logs
2021/03/05·1 min readHere, I provide examples of how to use CloudWatch Insights to search or analyze log data in CloudWatch logs. You can query one log group or multiple logs together to analyze the data, and you can also save the query and save the result to the CloudWatch dashboard.
How to Send Application Logs from EC2 to CloudWatch Logs
2021/03/02·2 min readThis blog shows how to send application logs from an Amazon Linux 2 EC2 instance to AWS CloudWatch Logs, including how to set up and configure the CloudWatch Logs agent.
How to Pass AWS Certified SysOps Administrator - Associate SOA-C02 - Study Question List
2021/03/01·6 min readStarting from July 27, 2021, the AWS Certified SysOps Administrator - Associate exam was updated from SOA-C01 to SOA-C02. This blog helps you prepare for the exam based on the exam guide. Below is a list of questions compiled during the review of the exam guide. These questions won't guarantee you'll pass the exam, but they will help you better prepare.
How to Setup a HTTPS Node JS Server on Amazon EC2
2021/03/01·13 min readA complete guide to set up an HTTPS Node.js web server on EC2, including Express.js setup, AWS Certificate Manager SSL/TLS, application load balancer with HTTP to HTTPS redirect, and Route 53 domain configuration.
How To Enable S3 Bucket Access With IP Address
2021/02/23·2 min readS3, Amazon Simple Storage Service, is an object cloud storage service that can store data on the cloud and is designed for 99.999999999% (11 9's) of durability. For example, you can host image files. You can either make the S3 bucket public so the images are publicly available, or you can keep the S3 bucket private and use CloudFront to access the S3 files. This blog shows how to make it public with a specific IP address.
How Much does CloudWatch Logs Cost
2021/02/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 a few things you can pay attention to for CloudWatch logs.
How to Backup DynamoDB Data to Different AWS Account
2021/02/13·3 min readThis blog shows how to migrate DynamoDB data between different AWS accounts. You can migrate DynamoDB by using different approaches such as AWS S3 with AWS Glue, Data Pipeline, or Amazon EMR. Here, we'll use S3 and focus on how to move DynamoDB backup data into a different AWS account.
How to Sync S3 Bucket to Different AWS Account
2021/02/11·2 min readThis blog shows how to move S3 Bucket content from one AWS account to another AWS account.
Upload to AWS S3 By Using Node.js
2021/01/16·2 min readThis blog shows sample code for how to upload files to AWS S3 by using Node.js.
How to Use API Gateway with AWS Lambda Versioning and Aliases
2021/01/03·5 min readThis blog shows how to build a simple API Gateway REST API with AWS Lambda. We'll also use AWS Lambda versioning and aliases to switch to a different version by using Node.js.
Backup AWS DynamoDB Table to Local
2020/12/31·2 min readA step-by-step guide on how to backup your AWS DynamoDB table from the cloud to your local DynamoDB environment using S3 export and Node.js.
Move DynamoDB Table from Local to AWS Cloud
2020/12/31·1 min readThis blog shows how to move a DynamoDB local table and data to the DynamoDB Web Service. Unlike SQL databases, you can't simply use a backup file to restore to a different environment.
Create DynamoDB Table Locally
2020/12/30·3 min readA step-by-step guide on how to create a DynamoDB table in your local environment using Node.js, including adding data and testing with scan.
How to Setting up DynamoDB Locally
2020/12/12·5 min readThis blog shows how to set up DynamoDB locally, and also demonstrates a few simple commands 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.
How to Redirect HTTP to HTTPS on Amazon Linux with Node.js
2020/05/02·3 min readThis blog shows how to redirect from HTTP to HTTPS by using Nginx at Amazon Linux EC2 Instance.
Use AWS Elastic IP Address
2020/04/09·2 min readThis blog will show how to use AWS elastic IP to assign to EC Instance.
How to Backup EC2 EBS Volume
2020/04/01·1 min readThis blog shows how to back up an EC2 instance and create another instance in the same region or a different region.
How to Retrieve EC2 Instance Meta Information
2020/04/01·1 min readA few commands to retrieve EC2 instance metadata, including hostname and user data.
Use VPC Flow Logs
2020/03/11·1 min readThis blog shows how to set up VPC flow logs.
Create AWS Classic Load Balancer
2020/03/04·1 min readThis blog shows how to set up an AWS Classic Load Balancer from scratch. At the end of the setup, you'll have 2 EC2 instances behind a load balancer in a public subnet.
Blocking Traffic from Specific IP Address with AWS Network ACL
2020/03/02·2 min readThis blog shows a few ways to use AWS Network ACLs to block traffic to your site.
VPC End Point - Use S3 from Private EC2 Instance
2020/02/20·2 min readHow to Create VPC with Public and Private Subnet
2020/02/12·4 min readThis blog shows how to create an AWS VPC from scratch with public and private subnets, internet gateway, NAT gateway, and EC2 instances.
How to Setup MongoDB on Amazon Linux EC2
2020/02/11·3 min readThis blog shows how to set up a MongoDB database environment on the cloud using AWS EC2 with Amazon Linux.
How to Create AWS Organization for Consolidated Billing
2020/02/11·2 min readIf you have multiple AWS accounts, it is hard to manage each account's billing. AWS Organizations allows you to consolidate billing across all your accounts.
How to Setup AWS Application Load Balancer
2020/02/04·3 min readThis blog will show how to create an AWS Application Load Balancer with custom VPC's EC2 instances.
Provision AWS EC2 Instance
2020/01/23·1 min readThis blog shows how to create an EC2 instance on AWS step by step.
SSH to EC2 Instance from Mac OS
2020/01/23·1 min readThis blog shows how to connect to an AWS Linux or Ubuntu EC2 instance from macOS.
How to do S3 Cross Region Replication
2020/01/21·1 min readThis blog shows how to use S3 replication within your current AWS account for cross-region or same-region replication.
SSH to EC2 Instance via Chrome Extension Secure Shell
2020/01/19·1 min readThis blog shows how to SSH to an EC2 instance via the Chrome Extension Secure Shell.
SSH to EC2 Instance via EC2 Instance Connect
2020/01/18·1 min readThis blog shows how to use AWS EC2 Instance Connect to SSH to an AWS EC2 instance directly from the browser.
How to Set Up Billing Alarm in AWS
2020/01/14·2 min readThis blog shows how to set up billing alarms in AWS to get notified when your spending reaches a certain threshold.
Share S3 Bucket Between AWS Accounts
2020/01/13·1 min readThis blog shows how to share an S3 bucket across different AWS accounts.
Build and Deploy with AWS CodePipeline
2019/03/01·4 min readThis blog shows how to use AWS CodePipeline to automate building and deploying a Node.js app from a GitHub repo to AWS Elastic Beanstalk.
How to Deploy Node.js App to the AWS Elastic Beanstalk
2019/01/01·2 min readHow to deploy a Node.js app to AWS Elastic Beanstalk.