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
# Check AZ's in us-east-1 | |
aws ec2 describe-availability-zones --region us-east-1 | |
{ | |
"AvailabilityZones": [ | |
{ | |
"OptInStatus": "opt-in-not-required", | |
"Messages": [], | |
"ZoneId": "use1-az6", | |
"GroupName": "us-east-1", |
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
#Create Bucket | |
aws s3api create-bucket --bucket prefix-example-com-state-store --region us-east-1 | |
#Enable Versioning | |
aws s3api put-bucket-versioning --bucket prefix-example-com-state-store --versioning-configuration Status=Enabled | |
#Enable Bucket Encryption |
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
# Install Kubectl | |
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl | |
chmod +x ./kubectl | |
sudo mv ./kubectl /usr/local/bin/kubectl |
NewerOlder