Cloudera Altus Cloud Services—You’re in Control (Part 2)

Categories: Altus Cloud

In part 1 of this two-part series, we discussed how Cloudera Altus cloud services put you, the Cloudera Altus customer, in control of your cloud resources. In that blog post, we described the problems and solutions in a cloud provider independent manner and then showed the solutions with Azure. In this second blog post, we’ll look at the solutions using AWS.

We previously introduced two control problems: the infrastructure construction problem (how do Cloudera Altus cloud services allow you to have precise control over how they build and manage a cluster for you); the second being the data access problem (how do Cloudera Altus cloud services allow you to manage the access that your cluster has into your cloud environment).

Solving the Infrastructure Construction Problem

AWS

Establishing trust is accomplished in AWS using a role that indicates the Altus Customer’s AWS account trusts the Altus AWS account (trust, within AWS, is at the account level). This role is created and controlled by the Altus Customer’s AWS administrator and is often called a Cross Account role.

The Cross Account role has two policies:

  • A “trust” or “assume-role” policy, says exactly which account (in this case, Altus) can assume this role. Within AWS, when a user assumes a role, the user’s current permissions are temporarily overridden by the permissions governed by those of the assumed role.
  • A “permissions policy”says which permissions (actions and resources) come with this role

In summary, the Cross Account role establishes trust, specifies actions, and manages resource scope.

Managing which Altus user can access which cloud resource is then a matter of allowing or denying access to a specific Environment to a specific user. All of this is built and controlled by the Altus Customer Administrator through the Altus application.

The trust policy to be used to allow Altus to assume the Cross Account role is shown below:

 

Note the reference to the Altus AWS account (via the ARN arn:aws:iam::062663104137:root), and the use of an ExternalId to prevent the Confused Deputy problem.

The Altus Cross Account Permissions Policy is shown below, listing the necessary and sufficient permissions Altus needs to manage AWS resources on the Altus Customer’s behalf:

 

If you let Altus build all your AWS infrastructure for you using the Quickstart then these policies are built by Altus. You may choose to build it all yourself but again Altus offers assistance: there’s extensive help in the Environment Wizard giving you the relevant JSON templates and documentation links so you can both understand the steps and succeed.

Further Reading

Solving the Data Access Problem

AWS

This solution, in AWS, is based around roles and policies. Just like infrastructure access problem, the data access problem is solved with a role with trust and permissions policies attached. However, the role is wrapped in an instance profile, and this is attached by AWS to the EC2 instance. When a program on the EC2 instance needs access to AWS resources then the instance profile returns the role which the program can assume, thus obtaining the necessary permissions.

At the time of writing this blog post, the AWS GUI hides some of this complexity so that the user only sees the role, and not the instance policy object. The instance policy object is constructed with the same name prefix (so, for example, if one constructed a role ClouderaEC2InstanceRole then the GUI would create an instance policy referencing that role called ClouderaEC2InstancePolicy. However, if one constructs these objects programmatically then one has to be aware that all these objects are required.

One example of the two policies a user might create would limit AWS instances to have access to a log bucket and a data bucket. This is shown below. Note that this policy can constrain access to other resources; in this example, we’ve been very strict about what access is available from these EC2 instances, limiting it to exactly a single bucket.

The trust policy:

The permissions policy:

 

Further Reading

Conclusion

In this two-part series we have shown how Cloudera Altus cloud services put you in control of your infrastructure, enabling Cloudera to manage clusters in your cloud provider’s account, and to control the access to your cloud storage. This information should make you confident that your security is taken seriously, and that Cloudera does not have access to your data.

Cloudera Altus cloud services provide a multi-cloud PaaS solution designed to automate massive-scale data engineering and data warehouse workloads in your public cloud, without the headache of managing the infrastructure yourself. It gives end users complete control over which cloud resources Altus clusters can use without giving access to data in your cloud account.

Toby Ferguson works on the Cloud Customer Success team at Cloudera.

Facebooktwittergoogle_pluslinkedinmailFacebooktwittergoogle_pluslinkedinmail

Leave a Reply

Your email address will not be published. Required fields are marked *

Prove you're human! *