Categories
AWS

What to Do When AWS EC2 and AWS Databases Disconnect?

Many administrators frequently encounter issues with EC2 instances being unreachable. Sometimes, they can’t connect to the instance right after it’s created, or it suddenly becomes unreachable after running fine for a while. If you can’t connect to an instance immediately after it’s created, first check if the security group for your EC2 instance has the […]

Categories
AWS

How to Select the Right EC2 Instance Type Properly?

Background AWS EC2 is AWS’s Elastic Compute Service, providing developers with simple and flexible virtual machines. It is one of AWS’s oldest services (the other being S3) and has been evolving for nearly 17 years since its launch in 2006. Many newcomers to EC2 might have the following similar experiences: There are so many types […]

Categories
AWS

How to Fix AWS EC2 Instances Can’t Ping Each Other?

When I deployed my nginx on an EC2 instance, I subsequently applied for a new EC2 instance to deploy an application (assuming the internal IP of the server hosting nginx is 172.16.100.1, and the new application server's internal IP is 172.16.100.2). After deploying my application on the new instance and configuring nginx to forward interfaces, […]

Categories
AWS

How to Run Python Scripts in AWS?

1. AWS Python Environment 1. AWS APIs Everything in AWS is an API call, and each AWS service has its own set of APIs to interact with. 2. AWS Command Line Interface The AWS Command Line Interface (AWS CLI) is an open-source tool that allows you to interact with AWS services using commands in your […]

Categories
AWS

AWS 101 | A Comprehensive Guide for Beginner

1. How to Build an AWS Application? 1. Set up using a private network with Amazon VPC 2. Place backend code on Amazon EC2 Instance (virtual machines, etc.) 3. Store data in databases like Amazon RDS or Amazon DynamoDB 4. Store image data in Amazon S3 5. Use Amazon CloudWatch for monitoring 6. To ensure […]