Skip to content

Commit d4569b3

Browse files
authored
Update README.md
1 parent e56df29 commit d4569b3

File tree

1 file changed

+30
-24
lines changed

1 file changed

+30
-24
lines changed

examples/AWS/AWS-EKS/README.md

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,38 +34,44 @@ This process can also be done using the AWS Command Line Interface (CLI) or the
3434

3535
## Creating an AWS Account
3636

37-
1. Sign up at https://aws.amazon.com/console/. Note that you will need to input your credit card information.
38-
**Even though there are free services, setting up an EKS cluster according to this tutorial will cost you.**
39-
2. Sign into your newly created account and change the region defined in the upper right corner to the region closest to you.
37+
1. Sign up at https://aws.amazon.com/console/. Note that you will need to input your credit card information.
38+
**Even though there are free services, setting up an EKS cluster according to this tutorial will cost you.**
39+
40+
2. Sign into your newly created account and change the region defined in the upper right corner to the region closest to you.
4041

4142
## Creating an AWS Account
42-
1. Right now you are the root user, and it's unadvisable to do anything as a root user
43-
outside of billing and setting up groups. To create a group, go to the Identity and Access Management (IAM) service.
44-
For any service, simply look it up on the search bar at the top of the page.
45-
2. Give the group a name (such as admin) and attach the AdminstratorAccess Policy.
46-
3. Add a user to the group. Grant the user Programmatic and Console access.
47-
Make sure to download csv file containing the user's credentials.
48-
4. Sign out and sign back in, this time using the url in the csv file. I recommend saving the Account ID,
49-
username, and password in a secure place as you will need all three to log into this IAM role in the future.
50-
5. Generate an access key for this user
43+
1. Right now you are the root user, and it's unadvisable to do anything as a root user
44+
outside of billing and setting up groups. To create a group, go to the Identity and Access Management (IAM) service.
45+
For any service, simply look it up on the search bar at the top of the page.
46+
47+
2. Give the group a name (such as admin) and attach the AdminstratorAccess Policy.
48+
49+
3. Add a user to the group. Grant the user Programmatic and Console access.
50+
Make sure to download csv file containing the user's credentials.
51+
52+
4. Sign out and sign back in, this time using the url in the csv file. I recommend saving the Account ID,
53+
username, and password in a secure place as you will need all three to log into this IAM role in the future.
54+
55+
5. Generate an access key for this user
5156

5257
## Installing eksctl
53-
1. To create a cluster in your terminal, you will need eksctl, a command line tool.
54-
Follow this [documentation](https://docs.aws.amazon.com/eks/latest/userguide/eksctl.html)
55-
and make sure to read up on your operating system.
58+
1. To create a cluster in your terminal, you will need eksctl, a command line tool.
59+
Follow this [documentation](https://docs.aws.amazon.com/eks/latest/userguide/eksctl.html)
60+
and make sure to read up on your operating system.
5661

5762
## Creating an EKS cluster
58-
1. To establish a connection between your AWS account and the terminal, go to IAM --> Users -->
59-
Click a user and go to the Security Credentials tab. Click Generate Access Key.
60-
**Make sure to copy the access key and secret access key to a secure location**.
61-
2. In the terminal, run these commands:
63+
1. To establish a connection between your AWS account and the terminal, go to IAM --> Users -->
64+
Click a user and go to the Security Credentials tab. Click Generate Access Key.
65+
**Make sure to copy the access key and secret access key to a secure location**.
66+
67+
2. In the terminal, run these commands:
6268

63-
export AWS_ACCESS_KEY_ID=<AWS Access Key>
64-
export AWS_SECRET_ACCESS_KEY=<AWS Secret Access Key>
69+
export AWS_ACCESS_KEY_ID=<AWS Access Key>
70+
export AWS_SECRET_ACCESS_KEY=<AWS Secret Access Key>
6571

66-
3. Execute the command `eksctl create cluster --name=<cluster_name> --region=<cluster_region>`.
67-
Note there are more [flags](https://docs.aws.amazon.com/eks/latest/userguide/getting-started-eksctl.html)
68-
you can add to customize the cluster further. Cluster creation takes around 20 minutes.
72+
3. Execute the command `eksctl create cluster --name=<cluster_name> --region=<cluster_region>`.
73+
Note there are more [flags](https://docs.aws.amazon.com/eks/latest/userguide/getting-started-eksctl.html)
74+
you can add to customize the cluster further. Cluster creation takes around 20 minutes.
6975

7076
## Installing the Amazon EBS CSI Driver
7177
You need to install the Elastic Block Store (EBS) Container Storage Interface (CSI) Driver so the EKS cluster can manage Amazon EBS volumes. This is necessary if you want to run any application that has a database, such as Prometheus.

0 commit comments

Comments
 (0)