Book Image

VMware vCloud Director Cookbook

By : Daniel Langenhan
Book Image

VMware vCloud Director Cookbook

By: Daniel Langenhan

Overview of this book

VMware vCloud Director is an enterprise software solution that enables the building of secure, private clouds by pooling together infrastructure resources into virtual data centers. The tool enables self-service via a web interface to reduce the management overhead and offers amazing possibilities for production and development environments. Thus, the tool will ensure efficient management of resources with data center efficiency and business agility. "VMWare VCloud Director Cookbook" will cover a lot of ground, ranging from easy to complex recipes. It will not only dive into networks, data-stores, and vApps, but also cover vCloud design improvements, troubleshooting, and the vCloud API. "VMWare VCloud Director Cookbook" is split into different sections, each of which deals with a special topic in vCloud - from networks, to vApps, to storage and design. This book contains over 80 recipes with the difficulty levels ranging from simple to very advanced. You will learn how to automate vCloud easily and quickly with the API, and also learn how to isolate a vApp and still fully access it without risking the network. Design considerations that need to be addressed while deploying the vCloud and more will also be looked into. "VMWare VCloud Director Cookbook" will make your life as an admin a lot easier by providing you with some good recipes that have been proven to work in small to large enterprises.
Table of Contents (16 chapters)
VMware vCloud Director Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Appendix
Index

Using templates with firewall and NAT settings


One of the major problems is that vApp templates do not keep their vApp router settings when they are templated and redeployed. Using templates with firewall and NAT settings is a way around it.

Getting ready

We need a vApp that has been configured with a vApp router and contains some firewall and NAT rules. You can use the vApp you created in the Forwarding an RDP (or SSH) session into an isolated vApp recipe in this chapter.

How to do it...

  1. Make sure the vApp that you want as a template is stopped.

  2. Right-click on the vApp and choose Copy to....

  3. Choose a new Name, OvCD, and a Storage Profile for the vApp:

  4. The vApp will now be copied.

  5. After the vApp is copied, you can deploy it. It is now a full copy, including the vApp router rules of the original vApp.

How it works...

It is not the most ideal way to do this, but it works. There are several downsides of this solution. One is that you will need these templates in each organization; you cannot use them...