Amazon AWS SDK Manual de usuario

Busca en linea o descarga Manual de usuario para Software Amazon AWS SDK. AWS SDK for Ruby Developer Guide Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir

Indice de contenidos

Pagina 1 - AWS SDK for Ruby

AWS SDK for RubyDeveloper GuideVersion v1.0.0

Pagina 2

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 8 - Install the AWS SDK for Ruby

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

Pagina 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

Pagina 10

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 19

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

Pagina 20 - Start an Amazon EC2 Instance

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

Pagina 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

Pagina 22 - Create a Key Pair

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Comentarios a estos manuales

Sin comentarios