Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Latest commit

 

History

History
30 lines (22 loc) · 1.41 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.41 KB

AWS EC2 + SecretHub


View Docs


This example uses Terraform to launch an EC2 instance, deploy the SecretHub Demo App on it and provision it with the required secrets using the SecretHub AWS Identity Provider.

Prerequisites

  1. Terraform installed along with the SecretHub Provider
  2. Correctly configured AWS Credentials
  3. Values assigned to the variables in variables.tf

Running the example

To launch an example EC2 instance (t2.nano), that runs the demo app, run:

terraform init
terraform apply

Once the instance is running its public IP will be outputted.

To see the app running, visit http://<EC2-INSTANCE-IP>:8080.

Note that it might take a couple minutes for the instance to be accessible from the browser.