Cloud
Share experience about cloud technology
Setting Up Next.js on AWS EC2 Instance
10/2/2021·1 min read
Next.js is a React-based web application framework built on top of Node.js web application, AWS EC2 is Amazon AWS Service's cloud computing which hosts the VM in the cloud. In this tutorial, we will manually create an EC2 instance and then SSH into the instance and install and set up the Next.js.
How To Enable S3 Bucket Access With IP Address
2/23/2021·4 min read
S3, Amazon Simple Storage Service is an object cloud storage service can store data on the cloud and designed of 99.999999999 (11 9's ) of durability. For example you can host image files, you can eitehr make the S3 bucket public so the images is public available so you can access to the file, or you can keep the remain the S3 as private but use the CloudFront to access the S3 file, this blog just shows how to make it public with specific IP Address.
Use Lambda with Node.js to Insert Data Into DynamoDB
6/1/2021·3 min read
This blog show how to create AWS Lambda with Node.js and insert record into DynamoDB, also shows manully deploy Lambda as package to AWS from the your local develop environment.
How to Deploy Lambda with Node.js with Package Dependencies
5/6/2021·4 min read
AWS Lambda is serverless compute service and let you run code at AWS's managing servers on the cloud, you will only worry about your code and AWS will manage the underneath servers. This blog is trying to show how to get start with Lambda by use Node.js with package dependencies, the code will include one dependency module util, it'll will use zip to compress the index.js and node_modules folder.
How to Deploy Lambda with Node.js without Dependencies
5/3/2021·3 min read
AWS Lambda is serverless compute service and let you run code at AWS's managing servers on the cloud, you will only worry about your code and AWS will manage the underneath servers. This blog is trying to show how to get start with Lambda by use Node.js with No package dependencies.
How to Self-Hosted Sentry.io at AWS EC2
5/1/2021·3 min read
This blog shows how to self-hosted Sentry.io with AWS EC2.
How to Pass AWS Certified SysOps Administrator - Associate SOA-C02 - Study Question List
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.
How to Collect Memory Disk Usage By Using CloudWatch Agent
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.
How to Setup a HTTPS Node JS Server on Amazon EC2
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.
List of AWS CloudTrail Record Fields
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.
How to Send Application Logs from EC2 to CloudWatch Logs
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.
How to Use CloudWatch Logs Insights to Analyze Logs
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.
How to Send MongoDB Logs to CloudWatch Logs
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.
How Much does CloudWatch Logs Cost
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.
How to Backup DynamoDB Data to Different AWS Account
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.
How to Sync S3 Bucket to 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.
How to Backup EC2 EBS Volume
4/1/2020·1 min read
This blog shows how to backup EC2 instance and create another instance to the same region or different region.
Share S3 Bucket Between AWS Account
1/13/2020·1 min read
This blog shows how to share an s3 bucket cross different AWS account.
Blocking Traffic from Specific IP Address with AWS Network ACL
3/2/2020·1 min read
This blog shows few ways of use AWS Network ACLs to block traffic to your site.
How to Retrieve EC2 Instance Meta Information
4/1/2020·1 min read
Few commands to get information for EC2 meta information.
How to Setup AWS Application Load Balancer
2/4/2020·1 min read
This blog will show how to create an AWS application load balancer with custom VPC's EC2 instances.
Create AWS Classic Load Balancer
3/4/2020·1 min read
This 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.
How to Create AWS Organization - For Consolidated Billing
2/11/2020·1 min read
If you just have 1 AWS account, you could just use that account for billing and development. However, if you have multiple AWS accounts, it is hard to manage each account's billing, so AWS has a way that is using AWS Organizations to consolidate billing.
How to Set Up Billing Alarm in AWS
1/14/2020·1 min read
This blog shows how to set up billing alarms in AWS.
Use AWS Elastic IP Address
4/9/2020·1 min read
This blog will show how to use AWS elastic IP to assign to EC Instance.
How to Increase AWS EBS Volume Size
12/11/2020·1 min read
This quick note shows how to increase AWS EC2 Linux's EBS volume size.
SSH to EC2 Instance from Mac OS
1/23/2020·1 min read
This blog shows how to connect to AWS Linux or Ubuntu from Mac OS
SSH to EC2 Instance via EC2 Instance Connect
1/18/2020·1 min read
This blog shows how to use AWS Instance Connect to SSH to AWS EC2 Instance.
Use VPC Flow Logs
3/11/2020·1 min read
This blog shows how to set up VPC flow logs.
SSH to EC2 Instance via Chrome Extension Secure Shell
1/19/2020·1 min read
This blog shows how to ssh to EC2 Instance via Chrome Extension Secure Shell.
How to do S3 Cross Region Replication
1/21/2020·1 min read
This blog shows how to using s3 replication within your current AWS account.
How to Deploy Node.js App to the AWS Elastic Beanstalk
1/1/2019·1 min read
How to deploy a Node.js app to AWS Elastic Beanstalk.
Provision AWS EC2 Instance
1/23/2020·1 min read
This blog shows how to create EC2 instance.
How to Create VPC with Public and Private Subnet
2/12/2020·1 min read
This blog shows how to create AWS VPC from scratch.
Create DynamoDB Table Locally
12/30/2020·1 min read
This blog will show how to create a DynamoDB table in your local environment.
How to Setting up DynamoDB Locally
12/12/2020·1 min read
This blog I'll show how to set up DynamoDB locally, also show a few simple codes to access local DynamoDB.
Move DynamoDB Table from Local to AWS Cloud
12/31/2020·1 min read
This blog shows how to move DynamoDB local table and data to the DynamoDB Web Service, unlike SQL Database, you can use the backup file to restore to a different environment.
Backup AWS DynamoDB Table to Local
12/31/2020·1 min read
This blog shows how to backup your AWS DynamoDB table (on the cloud) to your local DynamoDB environment.
Upload to AWS S3 By Using Node.js
1/16/2021·1 min read
This blog is to show some sample code that how to upload files to AWS by Node.js.
How to Setup MongoDB on Amazon Linux EC2
2/11/2020·1 min read
This blog shows how to set up a MongoDB database environment on the cloud, AWS EC2 with Amazon Linux.
Build and Deploy with AWS CodePipeline
3/1/2019·4 min read
VPC End Point - Use S3 from Private EC2 Instance
2/20/2020·1 min read