Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration. Packer is lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel.
Using the CloudCenter platform we can directly use packer to create AMIs in AWS and add the image mapping to CloudCenter to be used by various application profiles. This helps with image management in the public cloud using CloudCenter. Note in this example, during image mapping we will leave the mapping of the instance types empty. Once the images are mapped, the user will have to edit the mapping to choose the right instance type they would like to make available for this image.
The service highlights how we can use packer to create a Centos image in AWS. This script is an example usage of Packer. You can leverage this integration to create more advance deployments.
CloudCenter 4.8.x and above
CloudCenter Orchestrator running on AWS
Service Package Bundle
The Packer Service bundle consists of the following files:
service - The main script that has the logic for the integration
serviceDictionary.csv - The dictionary CSV file that has the list of all the parameters and their defaults. If you want to get addition input from the user, they need to be added to this file and also in the UI. The format of this file is as follows:
The parameter name is key here and should match the parameter name in the UI
packer-builder-amazon-ebs - The amazon-ebs Packer builder is able to create Amazon AMIs backed by EBS volumes for use in EC2
When using Packer we need to provide parameters for the template that is used to build the image. This example integration provides a sample template to create a Centos image. Users can modify these parameters and create their own templates based on their use case
To add this service login to CloudCenter as an administrator and click on Admin->Services->Add Service. Use the information listed below to create the service.
Service Type: External Service
Service ID: packerbuild
Description: Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration.
Category: Custom Service
External Lifecycle Actions:
External Action Bundle: <location of packerbuild.zip>
Cisco is here to help you with all your cloud-based needs. If you're considering moving your on-premise architecture to the cloud, then look to us for solutions.
If you already utilize the cloud for your IT infrastructure, try Cloud Monitoring to track th...
Hello, I am on CCP Version 4.2.0-x-10-gd73d82c. I am trying to integrate our users in Active Directory with the users in CCP. I have set the followings. 1. Server IP address : IP of our DC (running Windows 2016)2. Port :...
Hi guys,I somehow wonder why I can't find many folks talking about this here, just stumbling upon various docs and not the one (of course did not read them all) that would help, but one thing is driving me crazy about this stuff I actually work on in cour...
Hi, What's the correct procedure of downloading Cisco Expressway software for Webex Customers who wants to use Hybrid connectors ? Webex support info page: https://help.webex.com/en-us/ruyceab/Supported-Versions-of-Expressway-for-Cisco-Webex-Hyb...