This repo is meant to show you how to deploy a test application for Aptible to get you up and running in a few minutes.
-
Download this repo to your local machine.
-
cd
into this repo.
cd ~/aptible-demo-app
- Initialize Terraform within the directory.
terraform init
- Create a
terraform.tfvars
file in the directory and update with name of the environment you'd like to use in Aptible and save. Example contents:
aptible_environment = "change-me"
- Run
terraform plan
to validate changes.
terraform plan
- Run
terraform apply
and deploy app.
terraform apply
-
Copy the app endpoint address in the terminal and see the app website deployed.
NOTE: If you are using a legacy system that doesn't support the Ed25519 algorithm, use:
ssh-keygen -t rsa -b 4096 -C "you@example.com"