AWS Three-Tier Architecture Setup
📥 Clone the GitHub Repository
To begin, clone the GitHub repository that contains the necessary code:
git clone https://github.com/Naveen3251/AWS_3Tier.git
Architecture
☁️ S3 Bucket Creation
- Navigate to the S3 service in the AWS Management Console.
- Click on Create Bucket.
- Enter a unique Bucket Name.
- Select the AWS Region where you will be deploying the architecture.
- Keep the default settings and click Create Bucket.
This bucket will be used to store and manage the application code.
🔑 IAM Role for EC2 Instances
- Open the IAM service in the AWS Management Console.
- Navigate to Roles and click Create Role.
- Choose EC2 as the Trusted Entity.
- Click Next: Permissions and attach the following AWS Managed Policies:
-
AmazonSSMManagedInstanceCore
→ Allows secure connection through AWS Systems Manager Session Manager. -
AmazonS3ReadOnlyAccess
→ Grants EC2 instances permission to read from S3.
-
- Click Next, provide a suitable Role Name, and then click Create Role.
This role allows EC2 instances to securely access S3 and connect via AWS Systems Manager without needing SSH keys.
✅ Conclusion
You have successfully set up the initial components for the AWS Three-Tier Architecture. In the next part, we will proceed with further configurations and deployments.