Skip to content

Latest commit

 

History

History

aws-eb-springboot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Testing the code

Requirements

Configuration

cd eb-springboot-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

cd ../eb-springboot-app
# Update the file `vars/common-vars.asb.yml` with appropriate values
git init
git remote add origin codecommit::us-east-1://spikeseed-labs@eb-springboot-app
git add -A
git commit -m "Demo application"
git push origin master

cd ../eb-springboot-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

Cleanup

  1. Remove the S3 Buckets
  2. Remove the stacks
  3. Remove the CodeCommit repositories