aws 所有区域的区域编号_如何限制用户访问特定区域的AWS服务AWS文章

aws 所有区域的区域编号We may encounter scenarios where we need to restrict user accounts & services to be accessed in particular regions and isolate other regions from the user. For example, you have two d...
摘要由CSDN通过智能技术生成

aws 所有区域的区域编号

We may encounter scenarios where we need to restrict user accounts & services to be accessed in particular regions and isolate other regions from the user. For example, you have two different environments (Production & Test) in two different regions. You want to restrict your dev team to only access the services in your test environment and not the ones in your production environment. In this case, region-based access is a handy thing. You can create an IAM user with a custom policy attached to it that lets the user access only the services in a specified region.

我们可能会遇到需要限制在特定区域访问用户帐户和服务并将其他区域与用户隔离的情况。 例如,您在两个不同的区域中有两个不同的环境(生产和测试)。 您想限制您的开发团队仅访问测试环境中的服务,而不能访问生产环境中的服务。 在这种情况下,基于区域的访问很方便。 您可以创建一个IAM用户,并附加一个自定义策略,该策略允许该用户仅访问指定区域中的服务。

In this article, we will have a step by step walkthrough on creating IAM policies with region-based access. We will be creating a policy for EC2 & S3 services and the region will be Mumbai (ap-south-1). If you don’t have an AWS account yet, you can signup for a free account here. If you already have an AWS account just log in to your account & go to the IAM service.

在本文中,我们将逐步介绍如何创建基于区域的访问的IAM策略。 我们将为EC2和S3服务制定政策,该地区将是孟买(ap-south-1)。 如果您还没有AWS账户,可以在此处注册一个免费账户。 如果您已经拥有一个AWS账户,只需登录到您的账户并转到IAM服务。

Follow the steps below to create a region-based access policy :

请按照以下步骤创建基于区域的访问策略:

  1. Open the IAM service from your AWS dashboard and select Policies.

    从您的AWS仪表板打开IAM服务,然后选择策略

  2. Click on the “Create Policy” option.

    单击“创建策略”选项。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值