Amazon AWS SDK Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie Amazon AWS SDK. AWS SDK for Ruby Developer Guide Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - AWS SDK for Ruby

AWS SDK for RubyDeveloper GuideVersion v1.0.0

Strona 2

test: <<: *developmentproduction: <<: *development 6. Create app/models/my_record.rb as follows:class MyRecord < AWS::Record::Base

Strona 3

Where Do I Go from Here?The SDK reference documentation provides information about both the AWS Ruby gem and AWS Railsintegration gem.The Additional R

Strona 4 - AWS SDK for Ruby Developer

Using IAM Roles for Amazon EC2Instances with the AWS SDK forRubyNoteFor in-depth information about using IAM roles for EC2 instances, see Roles in Usi

Strona 5 - About Amazon Web Services

• Walkthrough: Using IAM Roles to Retrieve an Amazon S3 Object from an EC2 Instance (p. 11)Using IAM Roles for EC2 Instances to ManageYour Credentials

Strona 6 - Up Now button

NoteAWS CloudFormation does not support calling its API with an IAM role.You must call the AWSCloudFormation API as a regular IAM user.Walkthrough: Us

Strona 7 - Getting Started

Updating the Sample Program to Use IAM RolesNext, we'll update the program to run within an EC2 instance using IAM roles.To do this, we'll t

Strona 8 - Install the AWS SDK for Ruby

"s3:List*" ], "Resource": "*" } ]}Note the name of the role that you create so that you can specif

Strona 9

When you are finished, click Launch Instance to launch your EC2 instance.Go to the EC2 Instances area of the AWS Management Console and view the launc

Strona 10

require 'rubygems'require 'aws-sdk's3 = AWS::S3.new()bucket_name = 'text-content'obj_name = 'text-object.txt'd

Strona 11 - Where Do I Go from Here?

sudo alternatives --set ruby /usr/bin/ruby1.94. Install additional development packages needed by the AWS SDK for Ruby:sudo yum install -y gcc ruby-de

Strona 12 - Version v1.0.0

AWS SDK for Ruby: Developer GuideCopyright © 2014 Amazon Web Services, Inc. and/or its affiliates. All rights reserved.All other trademarks not owned

Strona 13 - Your Credentials

Start an Amazon EC2 InstanceThis section demonstrates how to use the AWS SDK for Ruby to start an Amazon Elastic Compute Cloud(Amazon EC2) instance.To

Strona 14 - To test the program locally

config_file = File.join(File.dirname(__FILE__), "config.yml")AWS.config(YAML.load(File.read(config_file)))2. Create a new EC2 instance, sp

Strona 15

For information about running your Amazon EC2 instance, see Run an Amazon EC2 Instance (p. 20).Authorize Security Group IngressBy default, a new secur

Strona 16

Before logging onto an Amazon EC2 instance, you must create the instance and ensure that it is running.For information about how to run an Amazon EC2

Strona 17

If you did not authorize ingress for the security group that your instance belongs to, you will not be ableto connect to your instance. By default, Am

Strona 18 - To run the program

Additional ResourcesHome Page for AWS SDK for RubyFor more information about the AWS SDK for Ruby, go to the homepage for the SDK athttp://amazonaws.c

Strona 19

Document HistoryThe following table describes the important changes since the last release of the AWS SDK for RubyDeveloper Guide.Last documentation u

Strona 20 - Start an Amazon EC2 Instance

AWS SDK for Ruby Developer Guide ... 1Getting Starte

Strona 21 - Create a Security Group

AWS SDK for Ruby DeveloperGuideThe AWS SDK for Ruby provides a Ruby API for AWS infrastructure services. Using the SDK, you canbuild applications on t

Strona 22 - Create a Key Pair

• AWS CloudFormation• AWS Data Pipeline• AWS OpsWorks• Application Services• Amazon CloudSearch• Amazon Elastic Transcoder• Amazon SWF• Amazon SNS• Am

Strona 23 - Run an Amazon EC2 Instance

below a certain level of usage. For more information about AWS costs and the Free Tier, go to Test-DrivingAWS in the Free Usage Tier.To obtain an AWS

Strona 24 - Related Resources

Getting StartedTo get started with the AWS SDK for Ruby, you need to set up the following:• AWS account and credentials• Ruby environment• AWS SDK for

Strona 25 - Additional Resources

3. Select your IAM user name.4. Click User Actions, and then click Manage Access Keys.5. Click Create Access Key.Your keys will look something like th

Strona 26 - Document History

# Fill in your AWS Access Key ID and Secret Access Key# http://amazonaws.cn/security-credentialsaccess_key_id: <REPLACE_WITH_ACCESS_KEY_ID>secre

Komentarze do niniejszej Instrukcji

Brak uwag