-
Notifications
You must be signed in to change notification settings - Fork 11
7. Basic Deployment Flow
Vladyslav Kulyk edited this page Feb 27, 2019
·
20 revisions
The standard resource deployment is performed according to the following flow:
-
Create the sdct.conf file which describes the framework configuration.
-
Setup the SDCT_CONF environment variable pointing to the sdct.conf file.
-
If necessary, add the sdct.aliases file.
-
Prepare resources meta descriptions in Syndicate operation files.
-
Deployment with the following steps:
a. Create the bundle bucket in S3 (in case it is the first deploy to the target AWS account):
`syndicate create_deploy_target_bucket`
b. Collect the artifacts of the application and all Syndicate operation files, and create a bundle:
`syndicate build_bundle --bundle_name <bundle_name>`
c. Deploy the bundle:
``` syndicate deploy --bundle_name <bundle_name> - –deploy_name <deploy_name> ```
-
In case the infrastructure is not needed any more, run:
`syndicate clean --bundle_name <bundle_name> --deploy_name <deploy_name>`
The command cleans the whole AWS infrastructure in the specified deploy, except the excluded resources, if any.