<< Test Results on Windows PC >>
G:\aaa>aws configure // Authenticating AWS AWS Access Key ID [****************ZUFH]: // Enter the Access key ID for s3uploader account AWS Secret Access Key [****************sN2O]: // Enter the Secret access key for s3uploader account Default region name [ap-northeast-2]: // Enter ap-northeast-2 (Region’s Name) Default output format [ENTER]: // Enter TEXT(Reference to the output form in the manual) G:\aaa>aws s3 sync g:\aaa s3://abc/upload_test — Screen Results After Command Entry —- C:\Program Files\Amazon\AWSCLI\.\dateutil\parser\_parser.py:1189: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal upload: .\test.xls to s3://abc/upload_test/test.xls |
※ If you connect aws configure once from the working device, authentication will be maintained.
VM to AWS
Importing VMs into Images Using VM Import/Export
https://docs.aws.amazon.com/ko_kr/vm-import/latest/userguide/vmimport-image-import.html
Exporting VMs in VMWare
https://docs.citrix.com/en-us/xencenter/7-1/vms-export-ovf.html
Additional Notes – Transfer of OS on VMWare to AWS EC2
https://cloud.hosting.kr/vmware/
To upload a VM image to AWS and make it into an instance, follow these steps:
1) Change IP to dhcp.
2) Erase unnecessary settings from virtual machines such as CD-ROMs.
3) Extract VMs.
https://console.aws.amazon.com/iam/
https://console.aws.amazon.com/s3/
1) Click [Create Bucket]
2) Type ‘Bucket Name’ and ‘Region’ and click [Create]
3) Upload VM Image
https://aws.amazon.com/ko/cli/
1) Install AWS-CLI
2) Initialize aws-cli in CMD
aws configure
AWS Access Key ID:
AWS Secret Access Key:
Default region name: `ap-northeast-1`
Default output format: `None`
3) Create a file
trust-policy.json, role-policy.json, containers.json
참조: http://docs.aws.amazon.com/kokr/vm-import/latest/userguide/import-vm-image.html
4) aws-cli in CMD
(1) Setting Permissions
aws iam create-role –role-name vmimport –assume-role-policy-document file://trust-policy.json
aws iam put-role-policy –role-name vmimport –policy-name vmimport –policy-document file://role-policy.json
(2) Sending from S3 to EC2
aws ec2 import-image –disk-containers file://containers.json
(3) Checking progress
aws ec2 describe-import-image-tasks –import-task-ids import-ami-fgxn195f
https://console.aws.amazon.com/ec2/
https://console.aws.amazon.com/vpc/
Note that Stopping an instance and Terminating an instance are different functions.
AWS IAM Account Creation Guide v1.0
To create an AWS account, go to the AWS IAM (Identity and Access Management) service and add users.
Check the attached guide link for detailed procedures.