Kubernetes: How to deploy application kubernetes cluster on AWS using kops
- 2024.02.25
- コンテナ化

At 13:24, I Said key-pair, but it actually Secret key and Access key. Pardon me for this.
1. AWS Account.
2. Create VPC & Deploy t2.micro Ubuntu Instance/Server for Management.
3. Create AWS S3 Bucket – awscloudops.shop
4. Domain Name (Can be purchased from Godaddy) – awscloudops.shop
5. Create AWS Route53 Zone using the domain from step 4.
6. Create an AWS User with Access Key & Secret Key or assign role.
7. Login to Mgmt Server, sudo to root & Generate SSH-Keys.
8. Create a folder called. aws under home and create credentials file. Add
AWS Access and Secret Key in the credentials file.
9. Download kops binary to Mgmt Server & provide execution permissions.
10. Download kubectl binary to Mgmt Server & provide execution permissions.
11. Deploy Kubernetes Server with KOPS.
export NAME=awscloudops.shop
export KOPS_STATE_STORE=s3://awscloudops.shop
export AWS_REGION=us-east-1
export CLUSTER_NAME=awscloudops.shop
export EDITOR=’/usr/bin/vi’
Multi-Master Dry-run:
kops create cluster –name=awscloudops.shop
–state=s3://awscloudops.shop –zones=us-east-1a,us-east-1b,us-east-1c
–node-count=3 –master-count=3 –node-size=t3.medium –master-size=t3.medium
–master-zones=us-east-1a,us-east-1b,us-east-1c –master-volume-size 10 –node-volume-size 10
–ssh-public-key ~/.ssh/id_rsa.pub
–dns-zone=awscloudops.shop –dry-run -o yaml
kops create -f cluster.yaml
kops update cluster –name –dns-zone=awscloudops.shop –yes –admin
kops validate cluster –wait 10m
kops delete -f cluster.yaml –yes
-
前の記事
【inkscape】Chromebook上でイラスト描くならこれでしょ 2024.02.25
-
次の記事
Conditional Formatting for Stacked/Clustered Column Chart in Power BI | New Power BI feature 2024.02.25