Step 4 - Provision the application¶
In this step we will provision the application on the deployed hardware.
- All the below operations are to be performed under the terraform organization created in the step 2.
- Setting up the workspace
- Create a workspace with name
app
prefixed with the organization's environment type. For e.g. if env isprod
then the workspace name will beprod-app
. - Choose
/app
in theterraform
github repository for version control with default branch pointing tomaster
. - Configure the following variables for the workspace.
auto-set
variable are set by Blotoutapps_default_hosted_api_token
- (sensitive) Blotout token of DNS provider [auto-set]apps_default_hosted_zone_id
- (sensitive) Blotout Zone ID [auto-set]administrator_email
- ui mail to be whitelisted.airflow_job_start_date
- start date of the pipeline For e.g. if pipeline is created on 12th August 2022 the value of the variable will be2022-08-12 12:00:00
docker_username
- (sensitive) username for dockerhub [auto-set]docker_password
- (sensitive) password for dockerhub [auto-set]smtp_user
- (sensitive) user to authenticate to smtp server [auto-set]smtp_password
- (sensitive) password to authenticate to smtp server [auto-set]git_user
- (sensitive) user to authenticate to github [auto-set]git_token
- (sensitive) password to authenticate to github [auto-set]
- Create a workspace with name
- Attach this workspace to the respective variable set of the organization created in Step 2.
- Run the pipeline by Actions.
- Click on
Actions
and thenStart new run
to start a new run. - Below variables are present in the output
web_application_url
- url for blotout UIairflow_url
- url for airflow UIloadbalancer
- loadbalancer endpoint where the Blotout domain is being served
- Click on
- Using the
administrator_email
we can now sign up in URL given byweb_application_url
. To know more, check how to login