awsマイスターシリーズreloaded -aws sdk for .net-

Download AWSマイスターシリーズReloaded -AWS SDK for .NET-

Post on 20-Jun-2015

2.137 views

Category:

Technology

3 download

Embed Size (px)

DESCRIPTION

AWSAWS SDK for .NET

TRANSCRIPT

  • 1. AWS ReloadedAWS SDK for .NET 2012.10.29 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

2. Agenda AWS SDK AWS SDK for .NET AWS Toolkit for Visual Studio 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 3. AWS SDK 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 4. AWSAWS Management Console AWS 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 5. API AWS GUICUI SDK AWS 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 6. AWS SDK AWSSDK AWS SDK for JavaAWS SDK for .NETAWS SDK for RubyAWS SDK for PHPAWS SDK for Python (boto)AWS SDK for AndroidAWS SDK for iOSActionScript HTTPS 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 7. Put,GetRESTAWS SDKSOAPDB 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 8. AWS AWS[]>[] IAMManagementConsoleIAM 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 9. EC2 RunInstances RebootInstances IPAllocateAddress http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/Welcome.html SDK 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 10. AWS SDK for .NET 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 11. AWS SDK for .NETAWS SDK for .NETAmazonAWS.NET SDKhttp://aws.amazon.com/sdkfornet/.NET Framework 3.5 1.5.5C#Visual Basic 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 12. .NET framework 3.5 Microsoft Visual Studio 2008Standard Microsoft Visual Studio 2010Professional Visual Studio 2012 Professional Microsoft Visual Studio 2012 Express Microsoft Visual C# 2008/2012 Express Edition Microsoft Visual Web Developer 2008/2012 Express Edition 12 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 13. Amazon CloudFront Amazon Simple Queue ServiceAmazon CloudWatch Amazon Simple Storage ServiceAmazon CloudSearchAmazon Simple Workflow ServiceAmazon DynamoDB Amazon SimpleDBAmazon ElastiCacheAmazon Virtual Private CloudAmazon Elastic Compute CloudAuto ScalingAmazon Elastic MapReduceAWS CloudFormationAmazon GlacierAWS Elastic BeanstalkAmazon Relational Database ServiceAWS Import/ExportAmazon Route 53 AWS Identity and Access ManagementAmazon Simple Email Service AWS Storage GatewayAmazon Simple Notification ServiceElastic Load Balancing 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 14. AWS SDK for .NET AWS .NET AWS Toolkit for Visual Studio 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 15. Download AWS .NET SDK http://aws.amazon.com/jp/sdkfornet/ 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 16. App.config App.config 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 17. EC2// EC2AmazonEC2 ec2 = new AmazonEC2Client();// RunInstancesRequest runInstanceRequest = new RunInstancesRequest{ ImageId = "ami-xxx", MaxCount = 1, MinCount = 1, KeyName = YourKeyName", SecurityGroup = { yourSecurityGroup }, InstanceType = InstanceType.M1Small };// ec2.RunInstances(runInstanceRequest); 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 18. S3// S3AmazonS3 s3 = new AmazonS3Client();// bucket PutBucketRequest putBucketRequest = new PutBucketRequest {BucketName = "Mybucket",BucketRegion = S3Region.APN1 };// buckets3.PutBucket(putBucketRequest); 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 19. S3// S3AmazonS3 s3 = new AmazonS3Client();// PutObjectRequest putObjectRequest = new PutObjectRequest {BucketName = "Mybucket",Key = "Item1",FilePath = "contents.txt" };//PutObjectResponse response = s3.PutObject(putObjectRequest); 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 20. RDS// RDSAmazonRDS rds = new AmazonRDSClient();// DB instance CreateDBInstanceRequest createDBInstanceRequest = newCreateDBInstanceRequest {AllocatedStorage = 30,DBInstanceClass = "db.m1.small",DBInstanceIdentifier = "sqlserver",Engine = "sqlserver-ex",MasterUsername = "sa",MasterUserPassword = "password" };// DB instance rds.CreateDBInstance(createDBInstanceRequest); 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 21. us-east ServiceURL AmazonEC2Config config = new AmazonEC2Config{ ServiceURL = https://ec2.ap-norhteast-1.amazonaws.com }; URL http://docs.amazonwebservices.com/general/latest/gr/rande.html 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 22. EBS S3 S3 DynamoDB SNS S3 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 23. Petboard ASP.NET http://aws.amazon.com/articles/3592?_encoding=UTF8&jiveRedirect=1 SimpleDBS3 SimpleDB S3ASP.NET 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 24. AWS Toolkit for Visual Studio 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 25. AWS Toolkit for Visual Studio Visual Studio AWS SDK for .NET AWS Elastic Beanstalk/AWS CloudFormation .NET 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 26. .NET framework 3.5 Service Pack 1 Microsoft Visual Studio 2008Standard Microsoft Visual Studio 2010Professional Visual Studio 2012 Professional AWS Elastic Beanstalk/AWS CloudFormation : Web 1.0 Microsoft VisualStudio 2010 Web 1.0 26 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 27. AWS Explorer / EC2 EC2 AWS CloudFormation AWS Elastic Beanstalk 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 28. Access Key IDSecret Access key 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 29. AWS Explorer Amazon CloudFront Amazon DynamoDB Amazon EC2 Amazon RDS Amazon S3 Amazon SimpleDB Amazon SNS Amazon SQS AWS CloudFormation AWS Elastic Beanstalk AWS IAM 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 30. 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 31. AWS Explorer Amazon CloudFrontDistributionDistributionDistributionDistribution/ 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 32. AWS Explorer Amazon DynamoDB/ 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 33. AWS Explorer Amazon RDSDB/ SQL Server DatabaseRDSDB Visual Studio 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 34. AWS Explorer Amazon S3Bucket/Pre-signed URL 2012 Amazon.com, Inc. and its affiliates. All rights