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

:credential_provider => AWS::Core::CredentialProviders::SharedCredentialFile Provider.new)Creating the provider object with the default construct

Pagina 3 - Table of Contents

# S3.new will now use the credentials specified in AWS.configs3 = AWS::S3.newWarningIf you explicitly specify credentials, make sure that you do not a

Pagina 4 - What is the AWS SDK for Ruby?

Using Amazon Web Services withthe AWS SDK for RubyThis section provides information about how to program various Amazon Web Services using the SDKfor

Pagina 5 - About Amazon Web Services

Using IAM Roles for EC2 Instances to Manage YourCredentialsYou can use the AWS Management Console to create an IAM role and configure it with the perm

Pagina 6 - To sign up for an AWS account

document = s3.buckets[bucket_name].objects[obj_name]File.open(obj_name, "w") do |f| f.write(document.read)endputs "'#{obj_name}&a

Pagina 7 - SDK for Ruby

Create an IAM role using the AWS Management ConsoleThe first step is to create an IAM role that has the appropriate permissions.To create the IAM role

Pagina 8 - Applications

When you create your EC2 instance, you must specify a key pair and a security group for access.Youcan create and configure these while setting up your

Pagina 9 - Using Default Credentials

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

scp -i ruby-iam-ec2-ssh.pem get_object.rb \[email protected]:NoteIf you launched an EC2 machine image other than the A

Pagina 11 - Where to Go from Here

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 12 - Version v1.0.0

AWS SDK for Ruby: Developer GuideCopyright © 2014 Amazon Web Services, Inc. and/or its affiliates. All rights reserved.The following are trademarks of

Pagina 13 - Credentials

For information about authorizing security group ingress, see Authorize Amazon EC2 Security Group In-gress (p. 17).For information about creating a ke

Pagina 14 - To test the program locally

If you authorize ingress for IP addresses that have already been authorized, the method returns an error.Whenever you use authorize_ingress or Securi

Pagina 15

You must specify a public or privately-provided AMI. A large selection of Amazon-provided public AMIsis available for you to use. For a list of public

Pagina 16

Additional ResourcesTopics• Home Page for AWS SDK for Ruby (p. 20)• SDK Reference Documentation (p. 20)• AWS Forums (p. 20)• AWS SDK for Ruby Samples

Pagina 17

samples, you can quickly gain understanding of how to use the SDK for Ruby and implement typical AWSprogramming patterns in Ruby.Topics• Installing th

Pagina 18 - To run the program

ls samplesNoteOn Windows, use the dir command instead.Set your AWS CredentialsBecause these are AWS SDK for Ruby samples, you will need to provide AWS

Pagina 19 - Start an Amazon EC2 Instance

https://s3.amazonaws.com/my_test_bucket/test.png(press any key to delete the object)To use the AWS Object Relational Manager (ORM) in a Rails 3 applic

Pagina 20 - Create a Security Group

6. Create app/models/my_record.rb as follows:class MyRecord < AWS::Record::Base string_attr :name end 7. Create the SimpleDB domain:$ rails con

Pagina 21 - Create a Key Pair

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

Pagina 22 - Related Resources

Table of ContentsWhat is the AWS SDK for Ruby? ...

Pagina 23 - Additional Resources

What is the AWS SDK for Ruby?The AWS SDK for Ruby provides a Ruby API for AWS infrastructure services. Using the SDK, you canbuild applications on top

Pagina 24 - Installing the samples

Viewing the Revision History for the SDK forRubyThe AWS SDK for Ruby is regularly updated to support new services and new service features. To seewhat

Pagina 25 - Run the Samples

Getting Started with the AWS SDKfor RubyThis section provides information about how to install, set up, and use the AWS SDK for Ruby. If youhave never

Pagina 26

NoteTo create access keys, you must have permissions to perform the required IAM actions. Formore information, see Granting IAM User Permission to Man

Pagina 27

The recommended approach for managing credentials is to store them in one of the following ways andthen load them into your application.This avoids pu

Pagina 28 - Document History

will use to access a service when you initialize a new service client. This topic describes how to specifyAWS credentials for SDK for Ruby application

Comentarios a estos manuales

Sin comentarios