我该如何与QUOT;相关联的实例简介"对AWS的环境? [英] How do I "associate an instance profile" with an environment on AWS?

查看:141
本文介绍了我该如何与QUOT;相关联的实例简介"对AWS的环境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要与我的环境相关联的实例配置文件(加快我的网站上载性能),​​但无法找到如何在AWS文档中的任何地方用指令(或在这里SO)。

I want to "associate an instance profile" with my environment (to speed up upload performance for my website) but can't find useful instructions on how anywhere in the AWS documentation (or here on SO).

我如何与AWS的环境相关联的实例配置文件?

How do I "associate an instance profile" with an environment on AWS?

推荐答案

不明确你正在试图完成的任务,但如果你看看,只是'相关联的实例配置文件,在这里你去:

Not clear what you are trying to accomplish, but if you are look to just 'associate an instance profile', here you go:

http://docs.aws.amazon.com/ IAM /最新/ UserGuide /实例profiles.html

这是实例轮廓是一个容器一个IAM作用。实例配置文件   用于当角色信息传递到Amazon EC2实例   实例启动。当您使用Amazon EC2的控制台发动   实例与IAM角色,您可以选择一个角色与关联   实例。在控制台中,真实显示的列表其实是一个列表   实例配置文件名称。

An instance profile is a container for an IAM role. Instance profiles are used to pass role information to an Amazon EC2 instance when the instance starts. When you use the Amazon EC2 console to launch an instance with an IAM role, you can select a role to associate with the instance. In the console, the list that's displayed is actually a list of instance profile names.

如果您使用AWS管理控制台创建角色,控制台   自动创建一个实例配置文件,并赋予它的名称相同   作为它的作用相对应。但是,如果您使用CLI,API时,   AWS SDK或第三方工具来创建角色和实例配置文件,   创建作为单独行动的角色和实例配置文件,   你可以给他们不同的名称。在这种情况下,你需要知道   你的情况概要文件的名称,以及角色的名称,他们   包含这样就可以当你选择正确的实例简介   推出的Amazon EC2实例。

If you use the AWS Management Console to create a role, the console creates an instance profile automatically and gives it the same name as the role it corresponds to. However, if you use the CLI, API, the AWS SDK, or a third-party tool to create roles and instance profiles, you create the roles and instance profiles as separate actions, and you might give them different names. In that case, you need to know the names of your instance profiles as well as the names of roles they contain so that you can choose the correct instance profile when you launch an Amazon EC2 instance.

这篇关于我该如何与QUOT;相关联的实例简介"对AWS的环境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆