Setting Up A Cost-Effective AWS Environment
precious ukunoritsemofe
Posted on September 7, 2024
Introduction
Hello there. Are you thinking about migrating to the cloud, and you're not sure what to do?
Worry no more because I got you covered with this post. Come with me and let's walk through some easy process.
Prerequisite
- A working PC
- Internet connection
Introduction to AWS
AWS (Amazon Web Services) is a super cool cloud platform that gives you everything from storage to powerful computing, all in one place! What makes it awesome is how you only pay for what you use, and it can grow with your business, no matter how big you get. It's available worldwide, letting you build and launch apps super fast. With tons of tools, AWS makes creating and scaling projects easier than ever!
Let's dive in!
Create a basic AWS account
- Log on to Amazon
- Click on Create an AWS account
- Input your email and the username for your account
Viola, Your account is ready!
Make sure your email and password are kept confidential and secure. Do not store your password on your PC in case anyone else accesses it.
Now that we are in, it's time to create an IAM user account that would be used to access our AWS account by all company staff.
Basic IAM setup
All company staff can't use the account we just created, and all staff cannot create personal AWS accounts either.
This brings the need to create IAM user accounts for members of the company.
IAM means Identity and management, with this, we can share access to our account across different company staff regulating what, and how they access the account based on clearance levels and departments.
- Log on to your Amazon account
- Click on the search tab and type IAM
- click on IAM and it will take you to the IAM dashboard
- Click on users and click on create users to create a user first for yourself. (PS) It is against best practice to continue using the root account so you need to create an IAM user with Admin access that can carry out almost all functions of the root user.
- Type the username of the user, and select provide access to the AWS management console. Scroll down and select I want to create an IAM user.
- Create a password for the user, and be sure you select the user must create a password at the next sign-in. Finally, click on next.
- Select attach policies directly. We are creating an Admin user account so scroll down select Administrator Access, and click Next.
Review and click create user.
Copy the URL for the console sign-in and enter it on your browser. Remember the username and password too.
Enter username and password and sign in.
- You'll be directed to where you will change your password and log in fully.
And that is it, you have successfully created your first IAM user.
The next thing to do is to create user groups. This is just you creating groups for different departments in the company and adding members attaching policies that describe the role for each member.
- Still using your IAM account already created, search and click on IAM, click on user groups, and click on create group.
- Name the group, go down and attach policies that fit the group.
The main reason we are creating groups is just to be fast while creating other users. Now that you have a group(s), you can create users and attach them to the group without having to spend more time searching for policies to attach to each user differently. You just need to create a group, and any user added to that group will inherit the permission(s) given to that group.
Read more about IAM policies and permissions here
Go over the steps up there over again and it gets easier.
Posted on September 7, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.