- Newest
- Most votes
- Most comments
It appears you're experiencing licensing issues with Amazon DCV on your Windows Server instance. Let me help troubleshoot this problem.
When running Amazon DCV on an EC2 instance, you don't need a separate license server as DCV automatically detects it's running on EC2 and connects to an S3 bucket to verify license availability. However, several requirements must be met:
-
Your instance must be able to reach the Amazon S3 endpoint. Since you mentioned your security group has HTTPS access to the internet, this should be covered. Alternatively, if internet access is restricted, you could configure a gateway VPC endpoint for your VPC with appropriate outbound rules.
-
The instance must have the correct IAM permissions. The IAM role attached to your EC2 instance needs an S3 access policy that looks like:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::dcv-license.YOUR-REGION/*"
}
]
}
Make sure you've replaced "YOUR-REGION" with your actual AWS region.
- For Windows instances specifically, access to the instance metadata service is required. You mentioned installing EC2Launch v2, which is good, but you might want to verify it's properly configured.
The "Access Denied" error when using AWS Tools for PowerShell suggests there might be an issue with the IAM permissions. Double-check that:
- The IAM role is correctly attached to your instance
- The policy has the correct region specified
- There are no typos in the resource ARN
If you've verified all these settings and the issue persists, it's possible there might be a problem with the DCV license bucket in your specific region. Some newer AWS regions might not have the DCV license bucket fully set up yet.
As a troubleshooting step, you could try forcing a license reload with the command dcv reload-licenses run as administrator.
Sources
Step 2: License the Amazon DCV Server - Amazon DCV
DCV - No license available from eu-south-2 region | AWS re:Post
Updating the production license - Amazon DCV
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 months ago
