Reader small image

You're reading from  VMware Cloud on AWS Blueprint

Product typeBook
Published inFeb 2024
PublisherPackt
ISBN-139781803238197
Edition1st Edition
Right arrow
Authors (3):
Oleg Ulyanov
Oleg Ulyanov
author image
Oleg Ulyanov

Oleg Ulyanov is a Staff Cloud Architect with more than 15 years of experience. He is a Subject Matter Expert in VMware Hybrid Cloud, cloud migration, networking, and storage. He has experience as a VMware professional services architect, helping customers achieve their technical and business goals through IT transformation and migrating to VMware Hybrid Clouds. He holds various industry certificates, including VMware VCP, VCAP6/7-DCV, SNIA, and Microsoft.
Read more about Oleg Ulyanov

Michael Schwartzman
Michael Schwartzman
author image
Michael Schwartzman

Michael Schwartzman, a Senior Azure Application Innovation Specialist at Microsoft, has over a decade of experience in cloud infrastructure, cloud security, and hybrid cloud solutions. Prior to his current role, Michael served as a Lead Cloud Solution Architect specializing in VMware Cloud on AWS. He has played a pivotal role in assisting Global ISVs with the development and sale of SaaS solutions on Azure. Additionally, Michael's broad expertise encompasses support for both digital natives and traditional enterprises, optimization of their cloud systems. His dedication to remaining at the forefront of the rapidly evolving tech landscape establishes him as a go-to expert for businesses seeking to leverage cutting-edge cloud technology.
Read more about Michael Schwartzman

Harsha Sanku
Harsha Sanku
author image
Harsha Sanku

Harsha Sanku is a Solutions Architect at Amazon Web Services, specializing in AWS Hybrid Cloud and Edge Computing services. His expertise lies in Cloud Infrastructure including Networking & Security. He has been a VMware Cloud on AWS Specialist for the last four years. Harsha has a strong background in designing and implementing data center infrastructure and private clouds, with a particular focus on VMware technologies. In his current role at AWS, he collaborates with customers to migrate and modernize their hybrid cloud infrastructure, ensuring they remain competitive in the ever-evolving business and IT landscape.
Read more about Harsha Sanku

View More author details
Right arrow

Infrastructure as Code with VMware Cloud

Infrastructure as Code (IaC) is a method used to provision and manage IT infrastructure using code, rather than relying on manual configuration. IaC allows for greater automation, consistency, and the ability to recreate infrastructure management tasks. By leveraging IaC with VMware Cloud (VMC), users can programmatically provision and manage virtual infrastructure on the VMC on AWS platform, leading to enhanced efficiency in automating and handling their cloud environments.

The following are the main topics that will be covered in this chapter:

  • Introduction to the VMware Cloud APIs
  • Cloud Services Platform APIs
  • Consuming Console APIs via the Developer Center
  • NSX-T Data Center REST API

Introduction to the VMware Cloud APIs

VMware Cloud, a leading provider of cloud solutions, offers a suite of powerful APIs that empower organizations to harness the full potential of their cloud environments.

In this chapter, we will delve into the VMware Cloud APIs, exploring their significance, capabilities, and the opportunities they present for businesses and developers alike. VMware APIs help simplify manual tasks, facilitate the effective administration of complex environments at a significant scale, and provide code samples and language support for popular programming languages, enabling developers to initiate their projects promptly and with ease.

Whether customers are looking to streamline their cloud operations, optimize resource allocation, or build innovative applications, understanding and leveraging VMware Cloud APIs can be a game-changer. These APIs have the potential to transform your approach to interacting with and overseeing your cloud infrastructure, leading...

Cloud Services Platform APIs

The Cloud Services Platform (CSP) APIs provide customers with a programmatic method to access and manage the capabilities provided by VMware. When working with VMware’s cloud services, such as VMC on AWS, the CSP APIs enable customers to automate and manage their cloud environments with greater efficiency. The CSP APIs are the primary mechanism for authentication and user management for VMC on AWS. These APIs provide an authentication endpoint that allows users to access VMC on AWS services. Once authenticated, users are issued an authorization token to be able to access the CSP and VMC on AWS APIs. Furthermore, the CSP APIs offer functionality within the VMware Cloud console for managing users and organizations, including displaying, adding, and removing users. Additionally, CSP APIs include methods for managing permissions, roles, and policies for both organizations and users in VMC on AWS.

VMware Cloud on AWS API

The VMC on AWS API is the...

Consuming Console APIs via the Developer Center

The Developer Center offers various tools to manage the API structure and capture user actions that can be translated into executable code. Developers, automation engineers, and DevOps engineers can access the tools to manage the API structures and capture vSphere Client actions that can be translated into PowerCLI.

Using the API Explorer, you can navigate and execute vSphere REST APIs supported by the system, while also obtaining information and context related to the API requests. The API Explorer simplifies the navigation and execution of vSphere REST API calls. Users first choose an API endpoint from their environment and retrieve a detailed list of vSphere REST APIs. The available APIs depend on the selected endpoint. Further, users can review specific details such as available parameters, expected responses, and response status codes before executing the APIs against a VMware Cloud SDDC environment. Figure 9.5 shows the available...

NSX-T Data Center REST API

NSX-T is the new default networking stack for VMC on AWS, replacing NSX-V. It offers additional networking and security capabilities and can be controlled using the NSX-T Policy API. To get started with the new API, customers can refer to the official documentation and tutorials provided by VMware.

Unlike NSX-T deployments on premises where the NSX-T API is used, VMC on AWS uses a new NSX-T Policy API that has been introduced to simplify the consumption of NSX-T. Both on-premises and VMware Cloud environments can be consumed using the NSX-T Policy API.

The core of NSX network automation centers around the primary access point into NSX via REST APIs. Like conventional REST APIs, NSX-T APIs facilitate the following API verbs: GET, PATCH, POST, PUT, and DELETE. The table displayed as follows outlines their usage:

Figure 9.6 – NSX-T Policy API verbs

Figure 9.6 – NSX-T Policy API verbs

The updated NSX Policy APIs reduce the configuration steps by allowing...

Summary

This chapter provided an overview of VMware APIs, which encompassed the Cloud Service Platform API, VMware Cloud API, and vSphere API. It guided you through the process of generating an API token directly from the VMware Cloud Console, and additionally explained how to effectively consume the Console API using the Developer Center. The chapter also provided a brief overview of the NSX-T Data Center REST API. Furthermore, it delved into the strategic use of Terraform for optimizing VMware Cloud on AWS. Finally, it touched upon the significance of vSphere Automation SDKs within the context of VMware Cloud on AWS.

In the next chapter, we will learn about VMware Cloud on AWS Outposts, a fully managed VMware Cloud experience that is tailored to meet the specific requirements of low latency and data residency use cases for customers looking to run VMware Cloud in their on-premises data centers or colocation facilities.

lock icon
The rest of the chapter is locked
You have been reading a chapter from
VMware Cloud on AWS Blueprint
Published in: Feb 2024Publisher: PacktISBN-13: 9781803238197
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Authors (3)

author image
Oleg Ulyanov

Oleg Ulyanov is a Staff Cloud Architect with more than 15 years of experience. He is a Subject Matter Expert in VMware Hybrid Cloud, cloud migration, networking, and storage. He has experience as a VMware professional services architect, helping customers achieve their technical and business goals through IT transformation and migrating to VMware Hybrid Clouds. He holds various industry certificates, including VMware VCP, VCAP6/7-DCV, SNIA, and Microsoft.
Read more about Oleg Ulyanov

author image
Michael Schwartzman

Michael Schwartzman, a Senior Azure Application Innovation Specialist at Microsoft, has over a decade of experience in cloud infrastructure, cloud security, and hybrid cloud solutions. Prior to his current role, Michael served as a Lead Cloud Solution Architect specializing in VMware Cloud on AWS. He has played a pivotal role in assisting Global ISVs with the development and sale of SaaS solutions on Azure. Additionally, Michael's broad expertise encompasses support for both digital natives and traditional enterprises, optimization of their cloud systems. His dedication to remaining at the forefront of the rapidly evolving tech landscape establishes him as a go-to expert for businesses seeking to leverage cutting-edge cloud technology.
Read more about Michael Schwartzman

author image
Harsha Sanku

Harsha Sanku is a Solutions Architect at Amazon Web Services, specializing in AWS Hybrid Cloud and Edge Computing services. His expertise lies in Cloud Infrastructure including Networking & Security. He has been a VMware Cloud on AWS Specialist for the last four years. Harsha has a strong background in designing and implementing data center infrastructure and private clouds, with a particular focus on VMware technologies. In his current role at AWS, he collaborates with customers to migrate and modernize their hybrid cloud infrastructure, ensuring they remain competitive in the ever-evolving business and IT landscape.
Read more about Harsha Sanku