mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
Improved the AWS docs
Signed-off-by: Ken Cochrane <kencochrane@gmail.com>
This commit is contained in:
parent
b460a718cc
commit
a1e0a301a6
@ -1,6 +1,6 @@
|
||||
# Using LinuxKit on Amazon Web Services (AWS)
|
||||
|
||||
This is a quick guide to run LinuxKit on AWS.
|
||||
This is a quick guide to run LinuxKit on AWS.
|
||||
|
||||
## Setup
|
||||
|
||||
@ -32,6 +32,12 @@ specified bucket, and create a bootable image from the stored image.
|
||||
|
||||
Alternatively, you can use the `AWS_BUCKET` environment variable to specify the bucket name.
|
||||
|
||||
**Note:** If the push times out before it finishes, you can use the `-timeout` flag to extend the timeout.
|
||||
|
||||
```
|
||||
linuxkit push aws -bucket bucketname -timeout 1200 aws.img
|
||||
```
|
||||
|
||||
## Create an instance and connect to it
|
||||
|
||||
With the image created, we can now create an instance.
|
||||
|
@ -81,7 +81,17 @@ we extract the hostname and populate the
|
||||
`/var/config/ssh/authorized_keys` from metadata. In the future we'll
|
||||
add more complete SSH support.
|
||||
|
||||
GCP userdata is extracted from `/computeMetadata/v1/instance/attributes/userdata`.
|
||||
GCP userdata is extracted from `/computeMetadata/v1/instance/attributes/userdata`
|
||||
and made available in `/var/config/userdata`.
|
||||
|
||||
## AWS
|
||||
|
||||
AWS metadata is reached via the following URL
|
||||
(`http://169.254.169.254/latest/meta-data/`) and currently we extract the
|
||||
hostname and populate the `/var/config/ssh/authorized_keys` from metadata.
|
||||
|
||||
AWS userdata is extracted from `http://169.254.169.254/latest/user-data` and
|
||||
and made available in `/var/config/userdata`.
|
||||
|
||||
|
||||
## HyperKit
|
||||
|
Loading…
Reference in New Issue
Block a user