Technical and Product News and Insights from Rackspace
Originally published in Jan 2017, at Onica.com/blog
We have done numerous security audits for companies and have run into some of the same issues on each audit, so we felt it would be beneficial for the community to write a blog post detailing some basic AWS® security principles.
A few basic AWS security principles are:
Amazon built almost every service within AWS with security in mind. Let’s take Simple Storage Service (S3( for a quick example: S3 enables you to write bucket policies to allow certain users from certain roles or groups to access a specific bucket. You can also force encryption in transit and at rest by using bucket policies. Understanding bucket policies for S3 helps ensure your data is as secure as possible while stored in S3 and is a basic AWS security principle.
Another example is Relational Database Service (RDS): RDS has several options for securing the data, specifically, enforcing the data to be encrypted at rest and not exposing the RDS instance to the internet. Exposing a database to the internet is a huge risk, and you should avoid it at all costs. This gives attackers an attack vector directly into your customer data, whereas leaving it locked down and only accessible via the intranet forces attackers to make it through one layer of security and then the next. Securing RDS could be an entire blog post, so we won’t dig too much into that here.
It’s no secret that implementing security measures often increases complexity in the environment for developers. Understanding the security features and the complexity they add to your environment helps improve your relationship with your operational staff and ensure that developers don’t dwindle. Before you implement a new security feature, ask yourself the following questions to ensure it’s best for your environment:
Implementing new security measures just because they exist isn’t necessarily the best thing to do. Remember that your staff and colleagues still have to be able to work in a timely fashion.
Many AWS services allow you to encrypt the data at rest. Some even allow you to encrypt the data in transit. Encrypting all of your data is a smart move. However, you could incur costs that you don’t necessarily need to incur. AWS Key Management Service (KMS) is an inexpensive service, but if you have a larger application with millions of hits, it can add to your bill. Encrypt the data whenever needed, by which I mean encrypt anything with user information, customer information, proprietary software, architecture designs, and so on. You might not need to encrypt a page that’s displaying stock ticker symbols or road conditions to your office. However, if it’s needed, encrypt it.
Not every user needs administrative rights on your AWS account. Only a few people should have such permissions. With full administrator privileges, authorized or unauthorized users can modify logs and cover their malicious activity tracks. These users can create additional users within IAM to spoof their activity. They can even change another user’s password and use their account for malicious activity.
Within Active Directory, not all users should have Domain Admin
. Very few users should retain the Domain Admin
privilege, and the others should have well-thought-out permissions for the environment. If some jobs don’t require you
to modify the firewall ports on your servers, these jobs shouldn’t have access to modify the Windows® firewall. The
same goes for IAM in AWS. If your user doesn’t need to open up ports in a security group, don’t give them permission to do
so. Understanding what your users need to do within AWS and building IAM policies for their roles is vital. Associate the
policy to a group, and associate the users to the group. This is crucial to maintain the security and integrity of your data.
Contact us to learn more about how we can help your organization with the basic principles of AWS security. You can also read more of our latest security blog posts for tips and tricks from our subject matter experts.
Learn more about Rackspace AWS services.
Use the Feedback tab to make any comments or ask questions. You can also click Sales Chat to chat now and start the conversation.