cd eb-solutionstack-infra
# Update the file `vars/common-vars.asb.yml` with appropriate values
ansible-playbook init/main.asb.yml --check -v
ansible-playbook init/main.asb.yml
ansible-playbook infra/main.asb.yml --check -v
ansible-playbook infra/main.asb.yml
# Insert secrets into SSM Parameter Store
# Create a Python script from .vault/ssm-parameters/parameters.py.template (change the profile and the values) named ssm-labs.py
cd .vault/ssm-parameters
python ssm-labs.py
python ssm-labs.py --nodryrun
cd ../../../eb-solutionstack-app
git init
git remote add origin codecommit::us-east-1://spikeseed-labs@eb-solutionstack-app
git add -A
git commit -m "Demo application"
git push origin master
cd ../eb-solutionstack-infra
ansible-playbook cicd/main.asb.yml --check -v
ansible-playbook cicd/main.asb.yml
# Wait for the Elastic BeanStalk to be created, then:
curl -i -H "x-com-token: 0123456789" https://<aws_accounts.labs.backend_dns>/api/v1/hello # FQDN configured in common-vars.asb.yml