terraform-flask-sanity

hemanth reddy

0

Cloud Infrastructure Architect

DevOps Engineer

Software Engineer

AWS

AWS S3

Terraform

terraform-flask-sanity

This project involves setting up a Flask application on an EC2 instance using Terraform.
First, a VPC with a specified CIDR block is created, followed by a public subnet within the VPC.
An Internet Gateway (IGW) is attached to the VPC, and the route table is updated for internet access.
A security group is configured to allow inbound traffic on port 80 and 22 and outbound traffic.
An EC2 instance is defined within the public subnet, with the necessary instance type, AMI, key pair, and security group.
Terraform provisioners are used to install Python and Flask on the EC2 instance and clone the Flask application from a repository.
A startup script ensures the Flask application starts automatically.
The public IP of the EC2 instance is outputted for easy access.
Finally, the setup ensures the Flask application can be updated by the developer by pulling the latest changes from a version control system and restarting the server.
Like this project
0

Posted Dec 7, 2024

In this project, I have created a terraform infrastructure for a sanity setup which is a flask application.

Likes

0

Views

0

Tags

Cloud Infrastructure Architect

DevOps Engineer

Software Engineer

AWS

AWS S3

Terraform

hemanthreddy00992/board_game
hemanthreddy00992/board_game
Hosted static website on AWS S3
Hosted static website on AWS S3