Ec2 Commands カナディアングーストリリウム

Ec2 Commands

926 visualizações

Publicada em

canada goose ranskatranslate"> Amazon EC2 で使用するコマンドの雛形です。

Publicada em: Tecnologia
  • 0 gostaram
  • Estatísticas
  • Notas
  • Full Name
    Full Name
    Comment goes here.
       Delete Reply Spam Block
    Are you sure you want to Yes No
    Your message goes here
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

Ec2 Commands

  1. 1. -- http://aws.amazon.com -- Home > Your Account > Security Credentials # Security Credentialsã ãらAccess Key ID, Secret Access Key㊮確認 Access Key ID: **** Secret Access Key: **** # X.509 Certificatesã*®ä½œæˆã€eダウンãƒãƒ¼ãƒ‰ cert-****.pem pk-****.pem -- AWS Management Console -- # AWS Management Console㠫移åã•ã€—ã€ãKey PairsãM®ä½œæˆã€ 任意ãã®ãƒ•ã‚©ãƒ«ãƒ€ãK«æ ¼ç´ï¼ˆ~/ec2㐨仮定) aws.pem # CertificatesファイルをEC2ル転逫 cd ~/ec2 scp -i $EC2_HOME/aws.pem $EC2_PRIVATE_KEY root@ec2- ****.compute-1.amazonaws.com:/mnt scp -i $EC2_HOME/aws.pem $EC2_CERT root@ec2-****.compute-1.amazonaws.com:/mnt -- Ec2 -- # 一度è¨å®šã€™ã‚Œã2°ä¸è¦aãs§ãe™ # sshãã§EC2ãä«ãƒã‚°ã‚¤ãƒ³ ssh -i ec2KeyPairs.pem root@ec2-****.compute-1.amazonaws.com # Amazon EC2 AMI Tools ão®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ« rpm -ivh http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.noarch.rpm # curl -O http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.noarch.rpm # パス㠮確認 $ which ec2-bundle-vol /usr/local/bin/ec2-bundle-vol # Developper ToolsãbãらAmazon EC2 API Toolsをダウンãƒãƒ¼ãƒ‰ $ cd /usr/local/src wget http://s3.amazonaws.com/ec2-downloads/ec2-api- tools.zip&token=A80325AA4DAB186C80828ED5138633E3F49160D9 # ファイルを解凍 unzip ec2-api-tools.zip # ec2-api-tools-1.3-45772ãA¨ã8„ã8†ãƒ•ã‚¡ã‚¤ãƒ«ã3«ã9ªã‚Šãã¾ãl™ã€‚ cd ec2-api-tools-1.3-45772/ mv bin /mnt mv lib /mnt # Javaランタイムをインストール wget -O jre-6u17-linux-i586-rpm.bin http://javadl.sun.com/webapps/download/AutoDL? BundleId=35674 # 実行権限を付与 chmod +x jre-6u17-linux-i586-rpm.bin sudo ./jre-6u17-linux-i586-rpm.bin # 上記ãe®ãƒã‚¤ãƒŠãƒªãƒ•ã‚¡ã‚¤ãƒ«ã‚’実行ãv ¢ãäŒç¶šãããã¾ãã™ã€‚ãã™ãã¹ã㦠Y(yes)を錸択㛗ãã¾ã¨™ # RPMãç§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãã—ã Ÿå ´åˆã§¯å®Ÿãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãŸ¯ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒ ªãƒ³ã‚¯ã®Œå¼µã‚‰ã‚Œã‚¾ãƒ™ãƒ®ãŸ§ /usr/java/latest
  2. 2. 㠨㵠„㠆ディレクトリ㼠«å¯¾ãð —ãÅ ¦Pathを通ãs—ã’¾ãM™ã€‚ # EC2ãã®ç’°å¢ƒå¤‰æ•°ãã®è¨å®š $ vim ~/.bash_profile export EC2_HOME=/mnt export PATH=$PATH:$EC2_HOME/bin export EC2_PRIVATE_KEY=$EC2_HOME/pk-****.pem export EC2_CERT=$EC2_HOME/cert-****.pem export JAVA_HOME=/usr/java/latest # 環境変数ãã®æ›´æ–° source ~/.bash_profile # ec2verã.¨å…¥åŠ›ãf—ã€j「1.3-45772 2009-10-31」ãs®ã‚ˆãM†ã€ «è¡¨ç¤ºã •ã‚Œã‚ŒãŠ » °ãƒ‘スãã¯é€šãå£ãã¦ãã„ãã¾ã1™ã€‚ $ ec2ver 1.3-45772 2009-10-31 -- S3ã7¸ã‚¤ãƒ¡ãƒ¼ã‚¸ã‚’登録 -- # mntディレクトリ㙸移å㕠cd /mnt/ # イメージを作成㙙ã‚ã ec2-bundle-vol -d /mnt --privatekey pk-****.pem --cert cert-****.pem --user **** --fstab /etc/fstab # Please specify a value for arch [i386]:ã* ¨èe žã ãれãt Ÿã‚‰ã- ã* ®ãp ¾ã ¾ãƒªã‚¿ãƒ¼ãƒ³ # S3ãa«ã‚¤ãƒ¡ãƒ¼ã‚¸ã‚’é€ ã‚ã ec2-upload-bundle --bucket **** --manifest image.manifest.xml --access-key **** -- secret-key **** # イメージを登録ãe™ã‚ã # ****㡯S3カ作成㌗ãeŸãƒã‚±ãƒƒãƒˆå ec2-register ****/image.manifest.xml -n **** # 自分ãt§ç™»éŒ²ãi—ãgŸAMIを確認㠗㠟ã*„時ã.¯ ec2-describe-images -o self


Canada Goose Rea
canada goose hinta
canada goose store
giacca da donna in canada

Pinterest is

using cookies

to help give you the best experience we can.

【50%オフ】SimplismのiPhone 6 Plus用カード収納付き薄型手帳ケースがセール中 #iPhone
Look at all of those beautiful cases
Tesla's new iPhone 6 cases are made from unused seat leather #iPhone
If you like your iPhone to go commando, the SurfacePad might be the case for you.
QuickfireDSLRDaypack21.jpg
Adrift iPhone & iPod Case by DuckyB (Brandi) #iphonecase
『マセラティ』公認の高級車の内装素材を使ったiPhone 6 Plusケース! #iPhone
Naked Tough...the ORIGINAL Clear Case. #Casemate #Phonecase #case #style #fashion
Artificial leather Protective Case for iPhone 6 #iphonecase
awesome Caudabe: The Veil iPhone 6/6S Plus (5.5) Premium Ultra Thin Case [Eco-friendly retail packaging]
iPhone 6 Case Air Skin (4.7)
4 Favorite Moshi Cases for the iPhone 6s and 6s Plus #iPhone
The wallet will come in black, almond and cobalt, with separate slots for cards and cash. iPhone charging wallet from Rebecca Minkoff
Premium Wooden Style Case for iPhone 6 #iphonecase
Say Goodbye To Bendgate With This Solid Titanium iPhone 6 Case #iPhone
Richmond & Finch Case for Galaxy S7 Edge - Nautical | eBay