[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
howtos:cloud:aws_ec2 [2020/07/05 16:35 (UTC)] – bifferos | howtos:cloud:aws_ec2 [2020/07/07 00:56 (UTC)] – [Security] bifferos | ||
---|---|---|---|
Line 5: | Line 5: | ||
* You should have already prepared a DomU compatible Slackware install, see the [[howtos: | * You should have already prepared a DomU compatible Slackware install, see the [[howtos: | ||
- | * You should have an AWS account with the necessary | + | * You should have an AWS account with the necessary |
* You should have awscli configured with credentials such that commands like 'aws s3 ls' work | * You should have awscli configured with credentials such that commands like 'aws s3 ls' work | ||
Line 12: | Line 12: | ||
===== Security ===== | ===== Security ===== | ||
- | A quick word about security. | + | A quick word about security. |
- | - Upload a public key to the account you'll use to access your instance, e.g. with ssh-copy-id. | + | - Upload a public key to the account you'll use to access your instance, e.g. with [[https:// |
- | - Ensure that ssh is configured to only use key access (PermitRootLogin=prohibit-password), | + | - Ensure that ssh is configured to only use key access ([[https:// |
- Reboot and ensure you still have access using your private key. | - Reboot and ensure you still have access using your private key. | ||
- Double-check that you cannot login using the password that would normally work on the VM console for your user. | - Double-check that you cannot login using the password that would normally work on the VM console for your user. | ||
- | + | <note important> | |
- | Of course, how secure | + | |
===== Disk Formats ===== | ===== Disk Formats ===== | ||
Line 55: | Line 54: | ||
</ | </ | ||
- | Change vmdk to vhd(x) depending on the format you’re using (it’s not detected by the import process). | + | Change vmdk to vhd(x) depending on the format you’re using (it’s not detected by the import process). |
< | < | ||
Line 79: | Line 78: | ||
===== Connect to an Instance ===== | ===== Connect to an Instance ===== | ||
- | You can now create an instance. | + | You can now create an instance. |
You can then use the AWS Console to create an EBS volume from your uploaded snapshot, and attach the EBS volume as the root device of your instance. | You can then use the AWS Console to create an EBS volume from your uploaded snapshot, and attach the EBS volume as the root device of your instance. |