O'Reilly logo

The DevOps 2.2 Toolkit by Viktor Farcic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a cluster

In the previous chapter, we already explored how to create a cluster without UI. The commands that follow should be familiar and, hopefully, should not require much explanation.

All the commands from this chapter are available in the 15-self-adaptation-infra.sh Gist at https://gist.github.com/vfarcic/7f49e5d1565b2234b84d8fe01e5c2356.

Please replace [...] with your keys before executing the commands that follow.

export AWS_ACCESS_KEY_ID=[...]export AWS_SECRET_ACCESS_KEY=[...]export AWS_DEFAULT_REGION=us-east-1export STACK_NAME=devops22export KEY_NAME=devops22aws cloudformation create-stack \    --template-url https://editions-us-east-1.s3.amazonaws.com/aws\/stable/Docker.tmpl    --capabilities CAPABILITY_IAM \    --stack-name $STACK_NAME ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required