-
VPC Setup
- Create a new VPC with public and private subnets.
- Set up an Internet Gateway for the public subnet.
- Configure appropriate route tables for both subnets.
-
EC2 Instances
- Launch an EC2 instance in the public subnet to host the web application.
- Launch another EC2 instance in the private subnet for additional backend processing (optional).
-
S3 Bucket
- Create an S3 bucket to store uploaded images.
- Configure appropriate bucket policies for secure access.
-
Security
- Configure security groups for the EC2 instances to allow necessary inbound and outbound traffic.
- Set up IAM roles and policies to grant EC2 instances access to the S3 bucket.
-
Networking
- Ensure proper network configuration to allow the EC2 instance in the public subnet to access the internet and the S3 bucket.
- Make sure that only your IP is allowed into the instance.
- Make sure you are using http and https and ssh ports.
Last active
February 5, 2025 13:42
-
-
Save lioneltchami/60f81000c31d2bcca1c6f9c8c2125ffb to your computer and use it in GitHub Desktop.
fanninggh
commented
Feb 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment