Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.6 KB

File metadata and controls

42 lines (31 loc) · 1.6 KB

Deploy services with a specific order

This ready to use example show you how to deploy 3 applications with a specific order.

Backend 1 -> Backend 2 -> Backend 3

Each backend application have their own deployment stage.

How to use

  1. Clone this repository
  2. Sign in to Qovery
  3. Install the Qovery CLI and generate an API Token with this guide.
  4. Generate your AWS credentials (Access Key ID and Secret Access Key) with this guide
  5. Open you terminal and run the following command by changing the values:
export TF_VAR_aws_access_key_id=YOUR_AWS_ACCESS_KEY_ID \
TF_VAR_aws_secret_access_key=YOUR_AWS_SECRET_ACCESS_KEY \
TF_VAR_qovery_access_token=YOUR_QOVERY_API_TOKEN \
TF_VAR_qovery_organization_id=YOUR_QOVERY_ORG_ID
  1. Clone my URL Shortener application
  2. Edit the main.tf file and change https://github.com/evoxmusic/ShortMe-URL-Shortener.git with yours
  3. You can now run the Terraform commands
terraform init
terraform plan
terraform apply
  1. Open your Qovery console to find out the HTTPS URL of your deployed app.
  2. To tear down your infrastructure and avoid unnecessary cloud costs you can run terraform destroy.