- Ansible 2 Cloud Automation Cookbook
- Aditya Patawari Vikas Aggarwal
- 189字
- 2021-06-24 18:43:37
How it works...
Here we have used variables registered from previous tasks to pass the VPC ID as an input (vpc_id). This task creates a security group with the name my_first_sg. The parameter rules is used for defining all ingress policies and similarly rules_egress for outbound policies. Every block inside ingress rules requires four key bits of information; that is, the protocol (TCP, UDP, or ICMP), the start of the port range (from_port), the end of the port range (to_port), and the CIDR to the whitelist. In all other protocols (except ICMP) we define the port range. But if we choose protocol as ICMP we have to define ICMP code. For example, 8 is used for ICMP echo requests and -1 is a wildcard (that is, any ICMP type number). We have allowed port 80 and port 443 from anywhere; that is 0.0.0.0/0. But port 22 (which is a default port for SSH connections) and all ICMP requests are accessible within the CIDR address space of our VPC.
- Big Data Analytics with Hadoop 3
- 集成架構中型系統
- Practical Ansible 2
- 腦動力:C語言函數速查效率手冊
- Photoshop CS4經典380例
- 人工智能工程化:應用落地與中臺構建
- 小型電動機實用設計手冊
- 學會VBA,菜鳥也高飛!
- 基于企業網站的顧客感知服務質量評價理論模型與實證研究
- Photoshop CS4數碼攝影處理50例
- 三菱FX/Q系列PLC工程實例詳解
- Raspberry Pi Projects for Kids
- 超好玩的Python少兒編程
- Appcelerator Titanium Smartphone App Development Cookbook(Second Edition)
- 三維動畫制作(3ds max7.0)