mirror of
				https://github.com/kelseyhightower/kubernetes-the-hard-way.git
				synced 2025-11-04 02:02:33 +03:00 
			
		
		
		
	add support for aws
This commit is contained in:
		@@ -164,7 +164,7 @@ aws ec2 authorize-security-group-ingress \
 | 
				
			|||||||
aws ec2 authorize-security-group-ingress \
 | 
					aws ec2 authorize-security-group-ingress \
 | 
				
			||||||
  --group-id ${SECURITY_GROUP_ID} \
 | 
					  --group-id ${SECURITY_GROUP_ID} \
 | 
				
			||||||
  --protocol tcp \
 | 
					  --protocol tcp \
 | 
				
			||||||
  --port 443 \
 | 
					  --port 6443 \
 | 
				
			||||||
  --cidr 0.0.0.0/0
 | 
					  --cidr 0.0.0.0/0
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -180,12 +180,6 @@ aws elb create-load-balancer \
 | 
				
			|||||||
  --security-groups ${SECURITY_GROUP_ID}
 | 
					  --security-groups ${SECURITY_GROUP_ID}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					 | 
				
			||||||
KUBERNETES_PUBLIC_IP_ADDRESS=$(aws elb describe-load-balancers \
 | 
					 | 
				
			||||||
  --load-balancer-name kubernetes | \
 | 
					 | 
				
			||||||
  jq -r '.LoadBalancerDescriptions[].DNSName')
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
## Provision Virtual Machines
 | 
					## Provision Virtual Machines
 | 
				
			||||||
 | 
					
 | 
				
			||||||
All the VMs in this lab will be provisioned using Ubuntu 16.04 mainly because it runs a newish Linux Kernel that has good support for Docker.
 | 
					All the VMs in this lab will be provisioned using Ubuntu 16.04 mainly because it runs a newish Linux Kernel that has good support for Docker.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user