Amazon AWS SDK Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Software Amazon AWS SDK. AWS SDK for Ruby Developer Guide Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - AWS SDK for Ruby

AWS SDK for RubyDeveloper GuideVersion v1.0.0

Strany 2

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 8 - Install the AWS SDK for Ruby

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

Strany 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

Strany 10

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 19

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

Strany 20 - Start an Amazon EC2 Instance

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

Strany 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

Strany 22 - Create a Key Pair

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

Strany 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

Strany 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

Strany 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

Strany 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

Komentáře k této Příručce

Žádné komentáře