简体   繁体   中英

How can I use aws-cw-agent on an EC2 hosted in private subnet ( without NAT gateway)

I want to upload logs of applications hosted in my private AMZ EC2 machine to the log group ( Cloudwatch ) by using the AWS Cloudwatch agent, However, I am stuck with how to do this task without using NAT Gateway or jump/ NAT Instance. TIA.

You can use VPC interface endpoints to privately connect to cloudwatch logs without any internet access. Amazon CloudWatch Logs is supported endpoint.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM