Posts

Showing posts from April, 2021

monitoring

  visualize using Grafana: CPU Usage : Monitor the utilization of CPU resources across different hosts or containers to identify potential bottlenecks or performance issues. Memory Usage : Track the usage of memory resources to ensure optimal memory allocation and identify memory leaks or inefficiencies. Disk Usage : Monitor disk space usage on servers or storage systems to prevent disk space-related issues and plan for capacity expansion. Network Traffic : Visualize incoming and outgoing network traffic to identify network congestion, anomalies, or potential security threats. HTTP Requests : Monitor HTTP request rates, response times, and status codes to gauge the performance and availability of web services and applications. Database Queries : Track database query execution times, throughput, and error rates to optimize database performance and identify slow or problematic queries. Latency Metrics : Monitor latency metrics such as request/response times for different services or ...

vpc2

Image
 private subnet would not allow internet inbound traffic directly, but database has to connect internet and update the patches, todo so , you need to have NAT gateway(elasticip) database server --> router--> internet gateway--> route tables says (nat-gateway-id) (for ip 00000/0)--then traffic goes to natgateway--> custom route table says (igw-id) it means allowed to go via internet gateway. High performance 55000 sessions it is not possible only for ec2 instance directly.. without NAT users cannot route traffic to a NAT gateway through a vpc peer,site to site vpn, or aws direct connect. 1. interface endpoints.. saas solution direct connect. 2. gateway endpoints create vpc --  1publci subnet 2. private subnte 3. public route table 4.private route table associate vpc, assign subnet. 5.internet gateway 6. natgate name it, then selecct in public subnet., associate elasitc ip, create natgw. 7. open publicroutetable, edit routes, add rount to internet 0.0.0.0/0 target ig...