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:
		@@ -7,10 +7,21 @@ This lab will walk you through provisioning the compute instances required for r
 | 
				
			|||||||
After completing this guide you should have the following compute instances:
 | 
					After completing this guide you should have the following compute instances:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					aws ec2 describe-instances \
 | 
				
			||||||
 | 
					  --filters "Name=instance-state-name,Values=running" | \
 | 
				
			||||||
 | 
					  jq -j '.Reservations[].Instances[] | .InstanceId, "  ", .Placement.AvailabilityZone, "  ", .PrivateIpAddress, "  ", .PublicIpAddress, "\n"'
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					i-f3714f2e  us-west-2c  10.240.0.22  XX.XXX.XX.XX
 | 
				
			||||||
 | 
					i-ae714f73  us-west-2c  10.240.0.11  XX.XX.XX.XXX
 | 
				
			||||||
 | 
					i-f4714f29  us-west-2c  10.240.0.21  XX.XX.XXX.XXX
 | 
				
			||||||
 | 
					i-f6714f2b  us-west-2c  10.240.0.12  XX.XX.XX.XX
 | 
				
			||||||
 | 
					i-e26e503f  us-west-2c  10.240.0.30  XX.XX.XXX.XXX
 | 
				
			||||||
 | 
					i-e36e503e  us-west-2c  10.240.0.31  XX.XX.XX.XX
 | 
				
			||||||
 | 
					i-e8714f35  us-west-2c  10.240.0.10  XX.XX.XXX.XXX
 | 
				
			||||||
 | 
					i-78704ea5  us-west-2c  10.240.0.20  XX.XX.XXX.XXX
 | 
				
			||||||
 | 
					i-4a6e5097  us-west-2c  10.240.0.32  XX.XX.XX.XX
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					 | 
				
			||||||
````
 | 
					 | 
				
			||||||
````
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
> All machines will be provisioned with fixed private IP addresses to simplify the bootstrap process.
 | 
					> All machines will be provisioned with fixed private IP addresses to simplify the bootstrap process.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user