- Building Serverless Architectures
- Cagatay Gurturk
- 611字
- 2021-07-02 19:04:42
Preparing the environment
Before we start digging into our project, we have to have an AWS account and the AWS CLI installed on our system. Even if you already have an AWS account, it is recommended that you open a new one because every new AWS account will come with a free tier available for 12 months following your AWS sign-up date. With the free tier, you will not have to pay for most of the resources we will install throughout the book. To set up a new account, perform the following steps:
- Open http://aws.amazon.com/ and then choose Create an AWS Account.
- Follow the online instructions.
Once you create your account, you will have to create security credentials for yourself. IAM (Identity and Access Management) is a service where you manage the security configuration of your AWS account. Here, you can create more than one user and allow them granularly to specific cloud resources. For every user, you can create up to two security credentials that you can use to access AWS APIs via different SDKs or the AWS CLI tool.
When you sign up a new AWS account, a root user is created, but usage of this account with security credentials should be avoided. This account has unlimited access to your account, and if you expose your security credentials accidentally to the public domain, such as a public git repository, your account can be compromised. For the sake of simplicity, we will create a new IAM user with administrator access.
To create the user, perform the following steps:
- Navigate to https://console.aws.amazon.com/iam.
- In the navigation pane, choose Users and then choose Create New Users.
- Type the user name for the user to be created. You can create up to five users at the same time, but we need only one for now.
- Make sure that the Generate an access key for each user checkbox is selected.
- Click on Create.
- On the next screen, you will be given the security credentials of the user you just created. This is the only opportunity to view the credentials. If you do not save them, you will need to create new access keys for the user. That's why it's important to save the Access Key ID and Secret Access Key now.
The user you just created does not have any access to AWS resources. AWS users gain the right to access depending on the IAM policies attached to them. Now we will attach an AdministratorAccess policy to that. To accomplish that, perform the following steps:
- In the Users section, click on the user that you created.
- On Permissions tab, click on the AttachPolicy button.
- Check the AdministratorAccess policy and click on the Attach Policy button in the bottom-right section.
We have completed creating a user with administrator rights.
- INSTANT Mock Testing with PowerMock
- Google Flutter Mobile Development Quick Start Guide
- 軟件測試項目實戰之性能測試篇
- 跟小海龜學Python
- 利用Python進行數據分析(原書第3版)
- Getting Started with NativeScript
- 全棧自動化測試實戰:基于TestNG、HttpClient、Selenium和Appium
- Quantum Computing and Blockchain in Business
- JavaScript機器人編程指南
- Java EE 7 with GlassFish 4 Application Server
- 大話代碼架構:項目實戰版
- RESTful Web API Design with Node.js(Second Edition)
- Pandas入門與實戰應用:基于Python的數據分析與處理
- Hands-On Data Visualization with Bokeh
- Python編程基礎