- Newest
- Most votes
- Most comments
Hello, please share more information regarding where is your machine ? Is it an on-prem server or an EC2 instance ? If it is an EC2 instance then it is present in which region ? In order to use different regions. If this is an on-prem server then you can consider using different profiles for CodeDeploy agent and CloudWatch agent. Each profile configured for a different region.
An example of how to configure CloudWatch agent with an IAM profile : https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/install-CloudWatch-Agent-commandline-fleet.html#install-CloudWatch-Agent-iam_user-first
You can also consider raising support case to get more information on this.
The EC2 instance I use is located in the us-east-1 region, and the logs need to be uploaded to cloudwatch in us-gov-west-1
Relevant content
- asked 3 months ago
- Accepted Answerasked a year ago
- Accepted Answerasked 5 months ago
- Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
Where is the machine, in AWS or outside of AWS. If in AWS what region?