How to create an backend fully serverless with AWS — PART 1
Hello everybody!
Welcome to a series posts which I will show you how to create a backend fully serverless with AWS using AWS SAM.
We are going to use AWS SAM which means Amazon Web Services — Serverless Application Model to build and deploy our app. SAM uses Lambda function, event sources, CodeBuild, CodePipeline and other resources.
In this first post we are going to create an AWS account to organize our application.
Now, we have to create account in AWS with email and password.
Once account created, Amazon strongly recommends create a user Administrator and don’t use user root account.
So, login with your root-user credentials and search IAM service in navigation bar. IAM means Identity and Access Management is responsible for users, groups, permissions, policies, etc.
In order to create a Administrator user you can follow the next steps:
Step 1:
Click in Add user
button.
Fill in User name field: Administrator.
Check Programatic access
and AWS Management Console access
and choice Custom password
and set your secret password, or check Require password reset
to reset password in the first login, as you prefer.
Step 2:
Choice Add user to group
option and click Create group
button.
Fill in Group name
field: Administrators
.
Search and check AdministratorAccess
policy and then click on Create group
button.
Step 3:
For now, we can skip this step which contains user tags.
Step 4:
Review and check fields are correctly completed and click on Create user
button.
Voilá! we have a user Administrator
inside group Administrators
. In the future we can create a new users to management our app and put it inside Administrators
group.
Download CSV file which contains keys you need to connect to AWS in the future.
In next posts I will show you how to install AWS CLI and configure it to use AWS command from your command line.
That’s all folks, see you soon in the next post!
Enjoy!