Skip to content

Instantly share code, notes, and snippets.

@lioneltchami
Last active February 5, 2025 13:42
Show Gist options
  • Save lioneltchami/60f81000c31d2bcca1c6f9c8c2125ffb to your computer and use it in GitHub Desktop.
Save lioneltchami/60f81000c31d2bcca1c6f9c8c2125ffb to your computer and use it in GitHub Desktop.

Web Application with Image Upload and Storage

Project Components

  1. 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.
  2. 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).
  3. S3 Bucket

    • Create an S3 bucket to store uploaded images.
    • Configure appropriate bucket policies for secure access.
  4. 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.
  5. 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.
@fanninggh
Copy link

1

@fanninggh
Copy link

2

@fanninggh
Copy link

3

@fanninggh
Copy link

4

@fanninggh
Copy link

5

@fanninggh
Copy link

6

@fanninggh
Copy link

7

@fanninggh
Copy link

8

@fanninggh
Copy link

9

@fanninggh
Copy link

10

@fanninggh
Copy link

this is where i got to but hope when we meet we can proceed from there

@fanninggh
Copy link

i have manage to bypass the error but i see another error

@fanninggh
Copy link

1 3 4 5 6 7 8 9 10 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment