简体   繁体   English

如何在私有子网中托管的 EC2 上使用 aws-cw-agent(没有 NAT 网关)

[英]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.我想使用 AWS Cloudwatch 代理将托管在我的私有 AMZ EC2 机器中的应用程序日志上传到日志组 ( Cloudwatch ),但是,我不知道如何在不使用 NAT 网关或跳转/ NAT 实例的情况下执行此任务。 TIA. TIA。

You can use VPC interface endpoints to privately connect to cloudwatch logs without any internet access.您可以使用VPC 接口终端节点私下连接到 cloudwatch 日志,而无需任何 Internet 访问。 Amazon CloudWatch Logs is supported endpoint. Amazon CloudWatch Logs 是受支持的端点。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 AWS:SSH 通过 NAT 网关从公共 su.net EC2 实例到私有 su.net EC2 实例没有发生 - AWS : SSH to private subnet EC2 instance from public subnet EC2 instance via NAT GATEWAY is not happening 私有子网中的 AWS EC2 实例无法通过 NAT 网关连接到互联网 - AWS EC2 instance in private subnet unable to connect to internet via NAT gateway AWS - 使用 NAT 网关(由 Lambda 访问)的私有子网中的 EC2 代理到无服务器 Aurora 的 Internet 访问 - AWS - Internet Access for an EC2 Proxy to Serverless Aurora in a Private Subnet with NAT Gateway (Accessed by Lambda) Private su.net 中的 EC2 Instance 是否需要此架构上的 Nat Gateway? - Does EC2 Instance in Private subnet need Nat Gateway on this architecture? 公共子网中的 NAT 网关和 EC2 实例能否共享同一个 AWS ElasticIP? - Can a the same AWS ElasticIP be shared by a NAT gateway and an EC2 instance in a public subnet? 在AWS私有子网EC2中使用yum - use yum in AWS private subnet EC2 如何在私有 su.net 上托管的 aws ec2 实例中安装 Nginx - How to install Nginx in a aws ec2 instance which is hosted on a private subnet 如何在没有 NAT 网关的情况下将 EKS 节点组启动到私有子网中? - How to launch EKS node group into a private subnet without a NAT gateway? 在私有子网中的 EC2 上安装 Cloudwatch 代理 - Install Cloudwatch agent on EC2 in a private subnet 如何在 AWS 中将私有子网连接到 Internet,而无需 NAT 或 EIP? - How to connect a private subnet to internet without NAT nor EIP in AWS?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM