Open Guide to Amazon Web Services
41–50 of 133 posts
Re: Open Guide to Amazon Web Services
#42I recommend you also make the content available on a one-topic-per-page format ASAP before someone else does and takes credit for it. WHY: Google still doesn't handle anchor-links very well. You have 1000 amazing articles on a single page. Each section (e.g.: "High Availability on AWS") would be a great resource for someone searching on that topic in Google. But when you put it all on one page Google infers "1/1000th…
Re: Open Guide to Amazon Web Services
#43Earlier quoted context omitted.
An attacker who compromises an EC2 instance can quietly grab the instance role credential and use it even after losing access to the instance itself.
"Have the application retrieve a set of temporary credentials and use them." "In the case of Amazon EC2, IAM dynamically provides temporary credentials to the EC2 instance, and these credentials are automatically rotated for you." Attacker should only have access until creds are expired no ?
This is why it's important to lock down instance profiles to do only what the application needs to do and no more. For example, you may give the permission to s3:DeleteObject, and in the event that the box is compromised the attacker would be able to delete files in your S3 bucket. However, if you don't give access to s3:DeleteObjectVersion you can evict the attacker and restore the deleted objects with relative ease.
This is why I would not recommend giving access to s3:* to an instance profile (or indeed, any production credentials).
Re: Open Guide to Amazon Web Services
#44Wish there was more information about Elastic beanstalk - it always confuses me about how it works..
1. That would be very valuable for everyone else.
2. A section, that does not look overwhelmingly empty would attract more and higher quality contributions from others. Kind of a reverse broken windows theory (https://en.wikipedia.org/wiki/Broken_windows_theory).
Re: Open Guide to Amazon Web Services
#45Re: Open Guide to Amazon Web Services
#46Re: Open Guide to Amazon Web Services
#47Earlier quoted context omitted.
"Have the application retrieve a set of temporary credentials and use them." "In the case of Amazon EC2, IAM dynamically provides temporary credentials to the EC2 instance, and these credentials are automatically rotated for you." Attacker should only have access until creds are expired no ?
That's right. Instance store credentials have an expiration time of a few hours. However, if the instance policy is very open you could create yourself a new IAM account or use STS to maintain persistence after the generated credentials expire. This is why it's important to lock down instance profiles to do only what the application needs to do and no more. For example, you may give the permission to s3:DeleteObject,…
Re: Open Guide to Amazon Web Services
#48I still don't get why Opsworks is not getting more love? I guess people don't like Chef? Opsworks has enabled hassle free deployments for us over the past three years or so at no additional cost. :)
Yep, not sure where this perception of "nobody's using it" comes from but I have been using it in 2 different companies in the last 3 years as well with nothing but love. In fact, if it were the case that "nobody's using it for good reasons", maybe we should ought to know the reasons?
It does have some warts.
Re: Open Guide to Amazon Web Services
#49I still don't get why Opsworks is not getting more love? I guess people don't like Chef? Opsworks has enabled hassle free deployments for us over the past three years or so at no additional cost. :)
It's likely the original authors aren't using Chef or just use Chef server as I do now.
Re: Open Guide to Amazon Web Services
#50I recommend you also make the content available on a one-topic-per-page format ASAP before someone else does and takes credit for it. WHY: Google still doesn't handle anchor-links very well. You have 1000 amazing articles on a single page. Each section (e.g.: "High Availability on AWS") would be a great resource for someone searching on that topic in Google. But when you put it all on one page Google infers "1/1000th…
I like the monolithic format, but if the cost is lower SEO, maybe have a paginated version "in addition to" (as opposed to "in place of")