如何以最佳方式有许多用户控制EC2实例? [英] How best to have many users control EC2 instances?

查看:199
本文介绍了如何以最佳方式有许多用户控制EC2实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

摘要: 我怎样才能得到几个开发人员能够为开始停止共享的Amazon EC2实例

Summary: How can I get several developers to be able to start and stop a shared Amazon EC2 instance?

我有,我正在使用的工作仍然存在每天都在一个EC2实例的项目,所以我开始'我的服务器,当我走进办公室,并停止,当我离开。我与其他几个开发工作,大家都用这个EC2实例。我们希望第一人每天开始工作到'开始'的情况下,最后回家'一站式'的情况......但他们无法启动或停止我的实例。 (他们的可以的推出从我的AMI等情况下,如果我给他们推出的权限,但是这将是一个新的实例。这种特殊的实例是一个的持续的机器从昨天的状态。 )

I've got a project where I'm using an EC2 instance for work that persists from day to day, so I 'start' my server when I come into the office, and 'stop' it when I leave. I work with several other developers and we all use this EC2 instance. We'd like the first person to start work each day to 'start' the instance, and the last home to 'stop' the instance ... but they can't 'start' or 'stop' my instance. (They can launch other instances from my AMI if I give them launch permission, but that would be a new instance. This particular instance is a persistent machine with state from yesterday.)

我们都在一个统一的结算帐户,但是这给没有访问权限。我期待在亚马逊(IAM),但现在看来,这需要我们的当前用户设置的检修(1开发商= 1 AWS账户,在合并结算的所有账户),这将是非常具有破坏性的,如果它不工作,或者如果有一个更好的方法来达到同样的目的。 (坦率地说,我没有得到我的玩具脚本IAM下工作尚未要么,但我怀疑IAM是解决这个问题的正确方法 - 我需要阅读有关它的详细)

We are all on a consolidated billing account, but this gives no access rights. I'm looking at Amazon IAM, but it seems it needs an overhaul of our current user setup (1 developer = 1 AWS account, all account under consolidated billing) which would be very disruptive if it doesn't work, or if there's a better way to achieve the same goal. (And frankly, I've not got my toy script to work yet under IAM either, though I suspect IAM is the correct way to approach this problem - I need to read about it more)

有关如何最好地管理共享的情况下,有什么建​​议?

Any suggestions for how best to manage shared instances?

谢谢!

PS由于种种原因,我们不希望有一个基于cron的解决方案;该机器将运行的,如果我们所有的移动与笔记本电脑,并没有固定的基础设施?哪个时区是我们假设?哪些用户是的cronjob运行的?

PS For various reasons, we don't want to have a cron based solution; which machine would that run on if we're all mobile with laptops and have no fixed infrastructure? Which timezone are we assuming? Which user is the cronjob running as?

推荐答案

AWS身份和访问管理: HTTP://aws.amazon。 COM / IAM /

AWS Identity and Access Management: http://aws.amazon.com/iam/

这篇关于如何以最佳方式有许多用户控制EC2实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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