DEV Community

Clinton Mbilitem
Clinton Mbilitem

Posted on

Terraform AWS EC2 Deploymemnt

creating the config. file adding the aws provider

config

the provider block and providing the region for the deployment

provider

write the security block to protect our instance/or

security aws

creating the instance and adding the security id.
telling terraform type of instance and size

instance

our deployed instance

terminal

aws terminal

deployed instance

security group

destroy instance if no longer required

destroy

Top comments (0)