- Building Serverless Web Applications
- Diego Zanon
- 248字
- 2021-07-15 17:31:27
Creating users and groups
Take a look at the following steps to learn how to create a user and associate a group to restrict the user access:
- Browse to the IAM website at https://console.aws.amazon.com/iam:

- Click on Users in the left-hand side menu.
- Choose Add user as shown in the following screenshot:

- Type a username. Here, you can add multiple users at once by clicking on the Add another user option.
- Check the Programmatic access box to enable API access using the CLI and the SDK.
- Click on Next: Permissions, as shown in the following screenshot:

- Now we need to create a group for this user. If you don't have one already, click on Create group:

- Choose a group name and select a policy. In this example, we will use a Simple Storage Service (S3) policy with full access. Click on Create group to continue and then click on Next: Review:
- Review the selected data and click on Create user:

- Write down the access key ID and secret access key displayed in the Access key ID and Secret access key boxes. They will be needed later to configure the CLI and the SDK:

In this chapter, we will run examples for S3, SNS, Lambda, and API Gateway. You can take the opportunity and give proper access to each of these services. The AdministratorAccess policy type gives full access to all AWS resources and should be avoided if you are using this account to deploy applications to production.
推薦閱讀
- Kibana Essentials
- DevOps with Kubernetes
- What's New in TensorFlow 2.0
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- 數(shù)據(jù)庫(kù)系統(tǒng)原理及MySQL應(yīng)用教程
- HTML5+CSS3網(wǎng)站設(shè)計(jì)基礎(chǔ)教程
- 基于ARM Cortex-M4F內(nèi)核的MSP432 MCU開(kāi)發(fā)實(shí)踐
- Vue.js 2 Web Development Projects
- Django 3.0入門與實(shí)踐
- Microsoft HoloLens By Example
- Tableau Dashboard Cookbook
- 量子計(jì)算機(jī)編程:從入門到實(shí)踐
- SCRATCH編程課:我的游戲我做主
- Java服務(wù)端研發(fā)知識(shí)圖譜
- 零基礎(chǔ)PHP從入門到精通