Skip to content

๐Ÿณ๐ŸA Terraform example with Docker and Node.js

Notifications You must be signed in to change notification settings

ericat/terrapin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Terraform Example

This very contrived example uses Terraform to deploy a containerised Node.JS app.

You will need:

  • An AWS account, whose credentials are stored in:
$HOME/.aws/credentials
  • a private key, which can be generated through AWS, stored in:
$HOME/.ssh/your-private-key.pem

Always run plan first:

terraform plan

Then run:

terraform apply

If successful:

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

Outputs:

public_ip = 52.56.161.210

Go to http://52.56.161.210:8080/

About

๐Ÿณ๐ŸA Terraform example with Docker and Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published