Last active
January 25, 2021 22:21
-
-
Save russelltadams/e3b7ffc45b5dfc5f1071ea5d66150c63 to your computer and use it in GitHub Desktop.
bootstrap and deploy freetierdeploy.aws
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bootsstraping steps | |
create keypair for account if none exists | |
install AWS CLI and setup creds | |
create bootstrap bucket by running s3 stack, upload deploy folders | |
# deploy steps | |
deploy hostedzone with r53 stack | |
create reusable-delegation-set from cli, update registrar (now this hosted zone always get same glue records on redeploys) | |
run ec2 stack | |
success... almost... | |
EC2Instance | |
CREATE_FAILED | |
In order to use this AWS Marketplace product you need to accept terms and subscribe. | |
To do so please visit https://aws.amazon.com/marketplace/pp?sku=auhljmclkudu651zy27rih2x2 | |
(Service: AmazonEC2; Status Code: 401; Error Code: OptInRequired; | |
Request ID: 9b94cd6c-b96a-42c0-8a0c-bf41d5fda693; Proxy: null) | |
I had to register the image I wanted to use in the region I was deploying in... I am not sure if there is a way around this step... user has to go to the market place and register... unless we can maybe provide a CLI template commands to take of this in the bootstrap step... | |
after registering the image... success from scratch in a fresh account, after bootstrapping.. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment