Giter VIP home page Giter VIP logo

vpc-and-ec2-setup-with-terraform's Introduction

Network Diagram

Steps

  • terraform init
  • terraform plan
  • terraform apply
  • terraform destroy

EC2 Notes

Amazon Linux 2023 AMI 2023.3. ami-0d7a109bf30624c99
Amazon Linux old ami-007868005aea67c54
ubuntu 22.04 ami-080e1f13689e07408

Terraform apply Result

aws_vpc.my_test_vpc: Creating...
aws_vpc.my_test_vpc: Creation complete after 5s [id=vpc-XXXXXXXXXX]
aws_internet_gateway.my_ig: Creating...
aws_subnet.my_test_subnet: Creating...
aws_security_group.app_sg: Creating...
aws_subnet.my_test_subnet: Creation complete after 3s [id=subnet-XXXXXXXXXX]
aws_internet_gateway.my_ig: Creation complete after 4s [id=igw-XXXXXXXXXX]
aws_route_table.public_rt: Creating...
aws_route_table.public_rt: Creation complete after 3s [id=rtb-XXXXXXXXXX]
aws_route_table_association.public_1_rt_assoc: Creating...
aws_security_group.app_sg: Creation complete after 7s [id=sg-XXXXXXXXXX]
aws_instance.app_server: Creating...
aws_route_table_association.public_1_rt_assoc: Creation complete after 1s [id=rtbassoc-XXXXXXXXXX]
aws_instance.app_server: Still creating... [10s elapsed]
aws_instance.app_server: Still creating... [20s elapsed]
aws_instance.app_server: Still creating... [30s elapsed]
aws_instance.app_server: Still creating... [40s elapsed]
aws_instance.app_server: Creation complete after 47s [id=i-XXXXXXXXXX]

Apply complete! Resources: 7 added, 0 changed, 0 destroyed.

Outputs:

instance_id = "i-XXXXXXXXXX"
instance_public_ip = "XXXXXXXXXX"

vpc-and-ec2-setup-with-terraform's People

Contributors

manoj-m-01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.