Amazon Web Services (AWS) is a giant in the cloud computing world, offering a vast array of services, unmatched scalability, and incredible reliability. From startups to global enterprises, many rely on AWS to power their applications.
So, where does Daestro fit in?
While AWS is powerful, managing its resources directly can sometimes be complex. Daestro acts as your mission control center, simplifying the entire process.
Let’s get your AWS account connected!
To allow Daestro to manage resources on your behalf, you need to create a special user with specific permissions in your AWS account. This ensures Daestro has only the access it needs and nothing more.
IAM
in the main search bar.daestro-integration-user
.AmazonEC2FullAccess
. In the search box, type this and check the box next to it.For enhanced security, you can create a custom policy that grants Daestro only the minimum permissions required to operate within a specific region.
On the Set permissions page, select Create policy. This will open a new tab.
Click on the JSON tab.
Delete the existing content and paste the following JSON code. Remember to replace "us-east-1"
with the AWS region you intend to use.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DaestroCorePermissions",
"Effect": "Allow",
"Action": [
"ec2:RunInstances",
"ec2:TerminateInstances",
"ec2:CreateTags",
"ec2:DescribeInstances",
"ec2:DescribeInstanceStatus",
"ec2:DescribeRegions",
"ec2:DescribeInstanceTypes",
"ec2:CreateVolume",
"ec2:DeleteVolume",
"ec2:AttachVolume",
"ec2:DetachVolume",
"ec2:DescribeVolumes",
"ec2:CreateNetworkInterface",
"ec2:DeleteNetworkInterface",
"ec2:DescribeNetworkInterfaces"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"ec2:Region": "us-east-1"
}
}
}
]
}
Click Next: Tags, then Next: Review.
Give the policy a name, like Daestro-EC2-Restricted-Policy
, and click Create policy.
Close this tab and return to the IAM user creation tab. Click the refresh button and search for the policy you just created. Check the box next to it.
Important: If you use a custom region-locked policy, remember that when you create Compute Environments in Daestro, you must select the region your policy is authorized for. Otherwise, your jobs will fail.
Access key ID
and the Secret access key
and store them in a secure place. You’ll need them for the next step.Now that you have your access keys from AWS, let’s add them to Daestro.
My AWS Account
.Access key ID
you copied from AWS.Secret access key
you copied from AWS.🔒 Your Security is Our Priority The credentials you save in Daestro are always encrypted using industry-standard AES-256 encryption when stored (“at rest”) and are protected by TLS encryption during transmission (“in transit”).
Congratulations! You’ve successfully and securely linked your AWS account to Daestro.
A “Compute Environment” in Daestro is the virtual server where your jobs will actually run. Let’s create one using the AWS connection you just set up.
aws-us-east-prod
.My AWS Account
).t2.micro
or t3.micro
is a good, low-cost starting point.us-east-1
, eu-west-2
).Daestro will now provision a new EC2 instance in your AWS account with the specifications you provided. Once the status shows as “Ready,” you can start assigning jobs to it.