Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Node12 and assign Instance Profile to Beanstalk Env #12

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
bb18264
change from stelligent to PauLDuvall
PaulDuvall Jul 17, 2020
8f9ffce
update EB solution to use Node 12
PaulDuvall Jul 17, 2020
5b6e803
no quotes in EB solution
PaulDuvall Jul 17, 2020
aba551c
add InstanceProfile and Role
PaulDuvall Jul 17, 2020
919bfaf
change OptionName to ServiceRole
PaulDuvall Jul 17, 2020
3fb8fb5
remove Rolenane
PaulDuvall Jul 17, 2020
566ebed
Merge branch 'master' into master
PaulDuvall Jul 17, 2020
a88a5c7
delete non-failed stacks
PaulDuvall Jul 17, 2020
ceaef60
add Deletion and Update Policy on S3 bucket
PaulDuvall Jul 17, 2020
a047cd7
update OpsWorks URL in samples README
PaulDuvall Jul 17, 2020
d026f21
update remainder of Launch Stack URLs in samples README
PaulDuvall Jul 17, 2020
005195c
update remainder of Launch Stack URLs in samples README
PaulDuvall Jul 17, 2020
7562c19
provide README instructions for running Beanstalk stack
PaulDuvall Jul 17, 2020
271df90
provide README instructions for running Beanstalk stack
PaulDuvall Jul 17, 2020
5e01a8d
add tmp-doea dir
PaulDuvall Jul 17, 2020
2c90c25
use dir
PaulDuvall Jul 17, 2020
a30ff04
remove devops-essentials from path
PaulDuvall Jul 17, 2020
0543639
change location of zip file for CodeCommit
PaulDuvall Jul 17, 2020
f0f1b6c
create zip from current beanstalk dir
PaulDuvall Jul 17, 2020
e918abc
add PIPELINE_BUCKET env var, latest build image, replace S3 bucket na…
PaulDuvall Aug 21, 2020
820844e
add update-taskcat.sh to replace S3 token
PaulDuvall Aug 21, 2020
2655531
remove -j option
PaulDuvall Aug 21, 2020
b50d696
change to v5.2.0
PaulDuvall Aug 21, 2020
24ce4f1
run ec2 cfn test
PaulDuvall Aug 21, 2020
2ed7a09
change ec2 pipeline param value to String
PaulDuvall Aug 21, 2020
f8d0714
retain S3 bucket
PaulDuvall Aug 21, 2020
59613d1
disable lint
PaulDuvall Sep 7, 2020
e3a8adb
change default branch to main
PaulDuvall Mar 31, 2021
bcb2de7
change default branch to main
PaulDuvall Mar 31, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove devops-essentials from path
  • Loading branch information
PaulDuvall committed Jul 17, 2020
commit a30ff041c64c33702eb1a606a15c262edd7daf57
10 changes: 5 additions & 5 deletions samples/beanstalk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ cd ~/environment
aws s3 mb s3:https://doea-eb-$(aws sts get-caller-identity --output text --query 'Account')
aws s3 mb s3:https://doea-eb-sitebucket-$(aws sts get-caller-identity --output text --query 'Account')
git clone https://github.com/PaulDuvall/devops-essentials.git tmp-doea
cd tmp-doea/devops-essentials/beanstalk
zip -r doea-eb-samples.zip ./tmp-doea/devops-essentials/beanstalk -x '*.git*'
aws s3 sync ~/environment/tmp-doea/devops-essentials/beanstalk/ s3:https://doea-eb-$(aws sts get-caller-identity --output text --query 'Account')
aws s3 sync ~/environment/tmp-doea/devops-essentials/beanstalk/html.zip s3:https://doea-eb-sitebucket-$(aws sts get-caller-identity --output text --query 'Account')
cd tmp-doea/beanstalk
zip -r doea-eb-samples.zip ./tmp-doea/beanstalk -x '*.git*'
aws s3 sync ~/environment/tmp-doea/beanstalk/ s3:https://doea-eb-$(aws sts get-caller-identity --output text --query 'Account')
aws s3 sync ~/environment/tmp-doea/beanstalk/html.zip s3:https://doea-eb-sitebucket-$(aws sts get-caller-identity --output text --query 'Account')
```

## Launch the CloudFormation stack from the CLI

From your Cloud9 terminal, type the following:

```
aws cloudformation create-stack --stack-name doea-beanstalk --capabilities CAPABILITY_NAMED_IAM --disable-rollback --template-body file:https:///home/ec2-user/environment/tmp-doea/devops-essentials/beanstalk/pipeline.yml --parameters ParameterKey=EmailAddress,[email protected] ParameterKey=CodeCommitS3Bucket,ParameterValue=doea-eb-$(aws sts get-caller-identity --output text --query 'Account') ParameterKey=CodeCommitS3Key,ParameterValue=doea-eb-samples.zip ParameterKey=S3Bucket,ParameterValue=doea-eb-sitebucket-$(aws sts get-caller-identity --output text --query 'Account')
aws cloudformation create-stack --stack-name doea-beanstalk --capabilities CAPABILITY_NAMED_IAM --disable-rollback --template-body file:https:///home/ec2-user/environment/tmp-doea/beanstalk/pipeline.yml --parameters ParameterKey=EmailAddress,[email protected] ParameterKey=CodeCommitS3Bucket,ParameterValue=doea-eb-$(aws sts get-caller-identity --output text --query 'Account') ParameterKey=CodeCommitS3Key,ParameterValue=doea-eb-samples.zip ParameterKey=S3Bucket,ParameterValue=doea-eb-sitebucket-$(aws sts get-caller-identity --output text --query 'Account')
```


Expand Down