Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

ENT302 Deploying Microsoft Exchange and SharePoint on AWS - AWS re: Invent 2012


Published on

Have you wondered about migrating your on-premises Windows Server, Active Directory, Exchange Server or SharePoint Server deployment to AWS? Looking for the best way to get started? This session will step you through the evaluation steps you should take in looking at migrating your Microsoft workloads to AWS. We’ll do a deep dive into the architecture, performance, availability and functionality running these workloads on AWS. We’ll also explore using value added services in AWS to extend your Microsoft workloads from both an IT Pro and Developer standpoint. Finally, we’ll look at how to integrate your on-premises deployments with AWS so you can continue to run some workloads on-premises and others in AWS. This session is full of demos and come armed with all your questions about running Microsoft workloads on AWS.

ENT302 Deploying Microsoft Exchange and SharePoint on AWS - AWS re: Invent 2012

  1. 1. Shell
  2. 2. using Amazon;using Amazon.S3.Model;using Amazon.S3;... if (FileUpload1.HasFile) { try { filename = Path.GetFileName(FileUpload1.FileName); FileUpload1.SaveAs(System.Web.HttpContext.Current.Server.MapPath("~/") + filename); //Upload to S3 string bucketName = "SharePointTomRizzo"; string keyName = filename; AmazonS3 client = Amazon.AWSClientFactory.CreateAmazonS3Client(accessKey, secretAccessKey); PutObjectRequest request = new PutObjectRequest(); request.WithInputStream(FileUpload1.FileContent); request.WithBucketName(bucketName); request.WithKey(keyName); request.StorageClass = S3StorageClass.ReducedRedundancy; //set storage to reduced redundancy client.PutObject(request); Label1.Text = "Upload status: File uploaded!"; LoadS3ListBox(); } catch (Exception ex) { Label1.Text = "Upload status: The file could not be uploaded. The following error occured: " + ex.Message; } }
  3. 3. protected void LoadS3ListBox(){ ListBox1.Items.Clear(); //Load the S3 Contents string bucketName = "SharePointTomRizzo"; AmazonS3 client = Amazon.AWSClientFactory.CreateAmazonS3Client(accessKey, secretAccessKey); ListObjectsRequest listRequest = new ListObjectsRequest(); listRequest.WithBucketName(bucketName); ListObjectsResponse listResponse = client.ListObjects(listRequest); foreach (S3Object obj in listResponse.S3Objects) { ListBox1.Items.Add(obj.Key); }}protected void Page_Load(object sender, EventArgs e){ LoadS3ListBox();
  4. 4.
  5. 5. Q&
  6. 6. We are sincerely eager tohear your FEEDBACK on thispresentation and on re:Invent. Please fill out an evaluation form when you have a chance.