Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Solution for AWS - Launch EC2 Web Instance Using Terraform #10260

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

kranthi9558
Copy link
Contributor

This pull request adds Terraform configuration files to launch an EC2 instance on AWS with specific requirements:

Launches an Amazon Linux 2 instance with 1 vCPU and 1 GiB memory.
Deletes the instance storage upon termination.
Installs and starts the Apache HTTP Server (httpd) on the instance.
Sets the content of /var/www/html/index.html to "I made it! This is awesome!".
Tags the instance with "Type: web" and names it "web-1".
Allows HTTP traffic (port 80) from anywhere through a configured security group.
This configuration is useful for quickly provisioning a basic web server on AWS using Terraform.

@bregman-arie bregman-arie merged commit 9e89d10 into bregman-arie:master Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants