Skip to content

azbiswas/vnf-f5-vpc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Server for Virtual Private Cloud using Custom Image

With this template, you can use IBM Cloud Schematics to create F5-BIGIP virtual server using custom image from you IBM Cloud account. Schematics uses Terraform as the infrastructure-as-code engine. With this template, you can create and manage infrastructure as a single unit as follows. For more information about how to use this template, see the IBM Cloud Schematics documentation.

Included:

Not included:

Costs

When you apply template, the infrastructure resources that you create incur charges as follows. To clean up the resources, you can delete your Schematics workspace or your instance. Removing the workspace or the instance cannot be undone. Make sure that you back up any data that you must keep before you start the deletion process.

  • VPC: VPC charges are incurred for the infrastructure resources within the VPC, as well as network traffic for internet data transfer. For more information, see Pricing for VPC.
  • VPC virtual servers: You specify how many virtual servers to provision in each VPC. The price for your virtual server instances depends on the flavor of the instances, how many you provision, and how long the instances are run. For more information, see Pricing for Virtual Servers for VPC.

Dependencies

Before you can apply the template in IBM Cloud, complete the following steps.

  1. Make sure that you have the following permissions in IBM Cloud Identity and Access Management:
    • Manager service access role for IBM Cloud Schematics
    • Operator platform role for VPC Infrastructure
  2. Download the ibmcloud command line interface (CLI) tool.
  3. Install the ibmcloud terraform and ibmcloud is CLI plug-ins for Schematics and VPC infrastructure. Tip: To update your current plug-ins, run ibmcloud plugin update.
    • ibmcloud plugin install schematics
    • ibmcloud plugin install vpc-infrastructure
  4. Create or use an existing SSH key for VPC virtual servers.
  5. Bring your F5 Custom Image

Configuring your deployment values

When you select the vnf-f5-vpctemplate from the IBM Cloud catalog, you set up your deployment variables from the Create page. When you apply the template, IBM Cloud Schematics provisions the resources according to the values that you specify for these variables.

Required values

Fill in the following values, based on the steps that you completed before you began.

Variable Name Description
ssh_public_key Enter the public SSH key that you use to access your VPC virtual servers. Use the public key from the ~/.ssh/id_rsa.pub file generated by the latest version of ssh-keygen tool, with the recommended key-size 2048.
f5_image The ID of the F5 custom image provisioned in your IBM Cloud account. To list available images, run ibmcloud is images. The default image is for an f5-bigip image in a demo account.

Optional values

Before you apply your template, you can customize the following default variable values.

Variable Name Description Default Value
generation The VPC Generation to target. Valid values are 2 or 1.. 2
region The VPC Region that you want your VPC to be provisioned. To list available zones, run ibmcloud is regions. us-south
zone The VPC Zone that you want your VPC virtual servers to be provisioned. To list available zones, run ibmcloud is zones. us-south-1
vpc_name The name of your VPC to be provisioned. f5-bigip-1nic-demo-vpc
ssh_key_name The name of your public SSH key. f5-ssh-pub-ke
f5_vsi_name The name of your F5 Virtual Server to be provisioned. f5-bigip-1nic-demo-appliance
profile Enter the profile of compute CPU and memory resources that you want your VPC virtual servers to have. To list available profiles, run ibmcloud is instance-profiles. bx2-2x8
f5_license Optional: The BYOL license key that you want your F5 virtual server in a VPC to be used by registration flow during cloud-init. None

Outputs

After you apply the template your VPC resources are successfully provisioned in IBM Cloud, you can review information such as the virtual server IP addresses and VPC identifiers in the Schematics log files, in the Terraform SHOW section.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 64.5%
  • Shell 35.5%