Posts

Create a vCenter Content Library using AWS S3 - Part 2

Image
Gilles Chekroun
Lead NSX Systems Engineer - VMware Europe
---
23-Sept-2018  UPDATE BELOW !!
A few months ago, I wrote a first part about creating a VMware Cloud on AWS vCenter Content Library using AWS S3. It was not an ideal solution since the indexing was done on the local machine.
Working together with Eric Yanping Cao and William Lam, we laid the foundation for having the complete Content Library in AWS S3 and indexing it directly in S3 without having to transfer any images locally.
Congratulations to Eric who did a fantastic job in python3 using boto3 to access the root S3 bucket and indexing it.


File StructureAlthough AWS S3 is an object oriented service, we can have a pseudo file structure with a root bucket and subsequent folders below it with the various VM templates or ISO files.
NOTE: Make sure you don't have any spaces in the folders name !
For my tests I am using the following structure:

gchek-s3-bucket
└── ContentLib
    ├── DSL4-4-10
    │   ├── DSL-4.4.10-disk1.vmdk
    │   ├── …

Understanding VMware Cloud on AWS Account Structure and Data Charges

Image
Gilles Chekroun
Lead NSX Systems Engineer - VMware Europe
---

With the success of VMware Cloud on AWS service, I often get asked by my Customers about the AWS Accounts Structure and Data Charges.
It is important to understand who owns what and how AWS charges will be seen.
Accounts StructureThe VMware Cloud SDDC account:This owned by VMware and the Customer SDDC will be deployed in that VPC. The cluster(s) nodes are EC2 bare-metal instances deployed in that VPC and belong to VMware. This is paid to AWS by VMware directly but this is dedicated to the Customer. VMware has a different account per customer and the resources deployed are not shared.
The Egress charges are also negotiated and a bit lower than regular egress charges. The AWS Customer Account:This is owned by the Customer and will be linked to the VMware account. AWS resources in that account are paid directly by the Customer to AWS. There is a private connection to the VMware Cloud SDDC on the Networking side at 25Gbps to give Virtual …

Create a Software Defined Data Center using VMware Cloud on AWS APIs

Image
Gilles Chekroun
Lead NSX Systems Engineer - VMware Europe
---

I like APIs very much. I was using Amazon Alexa and Lambda functions to demonstrate the power of VMware Cloud on AWS APIs
In this article, let's see how we can use the APIs to create an SDDC from scratch.
Since I am using Python, it will be easy to ask Alexa to do it as well !!

Login to VMware Cloud ServicesFollow the URL https://console.cloud.vmware.com and login using your VMware ID.

Open the VMware Cloud on AWS tile
Check existing Organization
Pre-requisitesBefore we can do anything with VMware Cloud APIs we need a number of parameters.
Org IDRefresh-TokenWe will also need to link our AWS account to the VMware Cloud environment to benefit from the ENI interconnection to the native AWS services.
Connected Account IDOrg IDOn the top right side we can see the Organization ID There are 2 descriptors for Org ID: a shot one with 8 characters and a long one with 32 We will need the long one. Just click on the short ID to see the long on…

Build a VMware Cloud on AWS Content Library using AWS S3

Image
Gilles Chekroun
Lead NSX Systems Engineer - VMware Europe
---

What is a Content Library?DISCLAIMER: External content libraries are not supported by VMware GSS !

vSphere Content Library is a repository where you can store VM templates, vApp templates and other kind of files like ISO. Administrators can use the templates to deploy VMs and vApps. Each item library can contain multiple files. The basis is .ovftogether with the description files like .mf and .vmdk If you have .ova files, you can simply un-compress them using the linux command:  tar -xvf SomeFile.ova

There are two kind of Libraries: Local and Subscribed. Local LibraryLocal Library stores items in a single vCenter. VM and vApp templates are stored as OVF file format. Subscribed LibraryYou can create a Subscribed Library in the same vCenter and to ensure the content is up-to-date, the library can automatically sync with the source on a regular basis. You can also use the option to download content from the source immediately or only wh…