AWS FAQ

Popular and frequently asked questions about DuploCloud and AWS

General FAQs

AWS Copilot seems to be a low-code, developer-friendly tool for monitoring that uses existing AWS tools. Can it be used with/instead of DuploCloud?

AWS Copilot is used only for ECS cluster management, just a small subset of overall Cloud operations. The chart below shows that DuploCloud includes container management in addition to multiple other functions. You can still use Copilot with DuploCloud for ECS management. Other clients have used tools like Harness or Helm with DuploCloud for Kubernetes management.

What keys should I use in my application to connect to the AWS resources I have created in DuploCloud (S3, Dynamo, SQS)?

If your application runs in a DuploCloud Tenant, you do not need a long-term credential, such as an AWS access key. After your application runs in the Tenant, test your connection using the AWS CLI to verify access.

Use the AWS constructor that takes only the region as the argument (us-west-2). DuploCloud setup links your instance profile and the resources. The host in DuploCloud already has access to the resources within the same tenant\project. DuploCloud AWS resources are reachable only from DuploCloud Hosts on the same account.

IMPORTANT: You cannot connect to any DuploCloud AWS resource from your local machine.

Does Duplo use an AWS instance profile or access keys to AWS accounts?

Duplo uses an IAM role, specifically an instance profile, to access AWS accounts. This methodology does not involve access keys.

If I have an S3 bucket in one Tenant, how would I give a DuploCloud Service in another Tenant access to it?

See the DuploCloud documentation on Cross-Tenant Access.

How do I give DuploCloud Services access to an S3 bucket in a non-DuploCloud AWS accounts?

To give DuploCloud Services (i.e., Cronjobs) access to an S3 bucket created in a non-DuploCloud AWS account, add the following permissions to your AWS accounts.

{
    "Sid": "AllowCrossAccount",
    "Effect": "Allow",
    "Principal": {
        "AWS": "arn:aws:iam::123456789012:duploservices-dev01"
    },
    "Action": "s3:GetObject",
    "Resource": [
        "arn:aws:s3:::my-source-bucket/*",
        "arn:aws:s3:::my-souce-bucket"
    ]
}
{
    "Sid": "CustomAllowS3",
    "Effect": "Allow",
    "Action": "s3:GetObject",
    "Resource": [
        "arn:aws:s3:::my-souce-bucket/*",
        "arn:aws:s3:::my-souce-bucket"
    ]
}

e s3GetObject permission is configured in the source and destination accounts respectively, enabling cross-account data sharing for the objects in the S3 bucket.

Depending on the use case, you may need to add additional permissions. For example, in addition to the s3:GetObject permission shown in the snippets above, you may need to add s3:ListBuckets or s3:PutObject. Be sure to add permissions to both policies, respectively, as shown in the example.

Security and Compliance FAQs

Will using DuploCloud be more secure and compliant out-of-the-box, as opposed to using a default AWS configuration?

Yes. This is a major advantage of using DuploCloud. All controls are mapped to various compliance standards. DuploCloud is also very flexible, enabling you to add custom policies (resource quotas, the ability to create public-facing endpoints, etc.).

We are considering enabling Amazon GuardDuty for our account. How much does it cost per month?

To estimate Amazon GuardDuty pricing, you can use the AWS pricing calculator.

If we enable Amazon GuardDuty, will we lose vulnerability and security standards insights from DuploCloud?

No, enabling or disabling Amazon GuardDuty does not affect the vulnerabilities and security standards insights DuploCloud provides.

CI/CD FAQs

Do I need an AWS access key for my application when using AWS?

CI/CD is the topmost layer of the DevOps stack. DuploCloud should be viewed as a deployment and monitoring solution invoked by your CI/CD pipelines, written with tools such as CircleCI, Jenkins, GitHub Actions, etc. You build images and push them to container registries without involving DuploCloud, but you invoke DuploCloud to update the container image. An example of this is in the CI/CD section. DuploCloud also offers its own CI/CD tool (KatKit).

If your application runs in a DuploCloud Tenant, you do not need a long-term credential, such as an AWS access key. After your application runs in the Tenant, test your connection using the AWS CLI to verify access. For more information, see the AWS FAQ.

Kubernetes FAQs

How do I look at detailed Load Balancer settings for my K8s Service?

DuploCloud provisions a Load Balancer for your K8 service. If you want to look at detailed settings on the Load Balancer, like Idle timeout, Access logs, and others, you can find and view them directly in AWS by following the below steps:

You can find the Load Balancer name for your service by navigating to Kubernetes -> Services, selecting your Service from the list, and looking at the Load Balancer tab. If you're using K8s Ingress, you must go to the K8s Ingress tab and find the Load Balancer configuration there.

Once you have the Load Balancer name, you can access the AWS Console via the DuploCloud UI (here). Once you are in the AWS Console, navigate to the EC2 service view and navigate to Load Balancers from the left navigation menu. Find your Load Balancer by name from that list and look at the detailed attributes in that view (scroll down to attributes).

Terraform FAQs

Why use Terraform when Cloud Formation is AWS native?

Many customers prefer Terraform to CloudFormation. Many elements in the Cloud DevOps cycle can be non-AWS (such as native Kubernetes, MongoDB, Data Dog, Okta, etc.), and all support Terraform providers.

Performance FAQs

Is the Duplocloud instance a single point of failure, and if so, to what extent? Who manages this instance?

No. DuploCloud achieves High Availability (HA) using cluster management. And because you own your AWS account, your data is always secure in AWS.

Our customers have never been blocked from performing urgent configuration updates because DuploCloud is unavailable. If DuploCloud is down, it is similar to your DevOps engineer being unavailable. In this case, someone else can take their place by directly configuring AWS.

Our customers consider this single-platform approach beneficial for centralizing operations and maximizing developer access. DuploCloud runs in a VM in your account. We manage this VM with your permission, and we can also give you simple steps to troubleshoot or install new updates. We are available 24x7 and work as your extended DevOps team.

Is scaling handled differently from ECS, where you set thresholds and min/max instances to spin up/down?

No. DuploCloud manages scale in the same way. We expose these thresholds in a simple form that is much easier to configure, even for a user with no DevOps experience. Behind the scenes, DuploCloud maps to the same native AWS constructs.

AWS Secrets Manager FAQs

How can I change environment variables to use AWS Secrets Manager instead of hardcoded AWS secrets in DuploCloud?

You can create AWS secrets from within the DuploCloud Portal and the Tenant-scoped permissions will work. If you encounter any issues, please let us know.

Where can I find documentation for using AWS Secrets Manager in DuploCloud?

The documentation for using AWS Secrets Manager in DuploCloud can be found here; however, this documentation does not provide instructions on how to use Tenant-specific AWS Secrets Manager.

Is there documentation available for using Tenant-specific AWS Secrets Manager in DuploCloud?

Yes. This documentation provides more details about using the SecretProviderClass and mounting AWS Secrets Manager secrets in DuploCloud.

Do we have to use Kubernetes to use AWS Secrets Manager with DuploCloud?

Yes, Kubernetes is required to use SecretProviderClass.

We are currently using Native Docker. Is there a way we can use AWS Secrets Manager?

For Native Docker, we recommend loading the secrets as part of your entry point script using the AWS CLI. For more information, refer to the AWS documentation.

Another option is to use the AWS SDK (Software Development Kit) and the associated documentation.

Can the permissions granted in DuploCloud be used to access AWS Secrets Manager, or do I need to grant access in AWS?

The existing permissions in DuploCloud are sufficient to access AWS Secrets Manager.

Relational Database Service (RDS) FAQS

Is attaching an RDS instance to each application for spin-up/down purposes expensive? Some of our RDS instances are small.

Small instances are generally no problem. DuploCloud can manage dynamic database spin-up/down with a single RDS database. Sharing AWS services in dynamic environments also helps reduce costs.

Can an RDS be left intact if I only want to destroy the application and not the database?

Yes.

Can I upgrade the RDS versions?

Yes. Use AWS Console and see your Cloud Provider for compatibility requirements. While versions 5.7.40, 5.7.41, and 5.7.42 cannot be upgraded to version 8.0.28, you can upgrade these versions to version 8.0.32 and higher.

Our current RDS logs are sent to CloudWatch. Does DuploCloud support this?

Yes.

EKS Version Upgrade FAQs

What is the process for EKS upgrades, and how does DuploCloud support them?

DuploCloud creates and tests changes to the DuploCloud platform to support the new EKS version. Once testing is complete, updates are rolled out on the DuploCloud customer platform. Then, users can update the EKS version.

How do EKS and DuploCloud version upgrades align?

There may be a delay between the release of a new EKS version and a DuploCloud version that supports it. This is due to the time needed to develop and test changes to the DuploCloud platform. DuploCloud ensures customers are always on a supported/non-deprecated version of EKS.

How will we be notified when we are ready for an EKS upgrade?

DuploCloud notifies users when an EKS upgrade is planned.

What is the upgrade plan scope?

The upgrade plan scope includes everything (by DuploCloud or Helm) deployed on the cluster.

Last updated

Logo

© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates