Slaesforce FAQ

how to deploy air-gapped environment for salesforce

by Ms. Jayne Nader I Published 2 years ago Updated 2 years ago

To set up an air-gapped deployment, you must: Pull all Coder deployment resources into your air-gapped environment Push the images to your Docker registry, Deploy Coder from within your air-gapped environment

Full Answer

How to enable deployment with apex jobs in Salesforce?

•Enable deployments with Apex jobs in the Salesforce user interface in the Deployment Settings page. Custom Fields •To change the data type of a custom field, you can use change sets.

How do I authorize an Org for deployment in Salesforce?

From Setup, enter Deployment in the Quick Find box, then select Deployment Settings, and then click Continue. 2. Click Edit next to the org you want to authorize.

How do I deploy changes to a Salesforce organization?

See Deploying Changes to a Salesforce Organization in the Ant Migration Tool Guide. Performing a Quick Deployment through the User Interface or the API To perform a quick deployment, first run a validation-only deployment with Apex test execution on the set of components that you need to deploy.

What is a deployment connection in Salesforce?

For example, if you have a production org and two sandboxes, a deployment connection is created between production and each sandbox. Also, a deployment connection is created between the two sandboxes. Authorizing a Deployment Connection Authorize inbound changes so that another Salesforce org can send change sets to the org you are logged into.

Dependencies

Before proceeding, please ensure that you've installed the following dependencies:

Step 1: Pull all Coder resources into your air-gapped environment

Coder is deployed through helm, and the platform images are hosted in Coder's Docker Hub repo.

Step 2: Push the images to your Docker registry

After you download the images, tag and push them to your internal Docker registry (this registry must be accessible from your air-gapped environment):

Step 3: Deploy Coder from within your air-gapped environment

Once all of the resources are in your air-gapped network, run the following to deploy Coder to your Kubernetes cluster:

Install Types: Online vs Air Gap

Terraform Enterprise installs using either an online or air gapped method and as the names infer, one requires internet connectivity, the other does not. Online is easier and requires less preparation, but both result in fully functioning Terraform Enterprise environments.

Performing an Air Gap Install

The following is a high-level view of what the installation steps/screens would look like for an Air gap install. This isn’t a replacement for the detailed installation documentation; be certain to review the documented installation steps and ensure you review all information specific to your platform before performing an installation.

Creating Terraform Bundles

A Terraform bundle file, in its most simple form, is simply a zip file, with a specific version of the Terraform binary at the root level, and the corresponding provider files also at the root level. These files can be downloaded directly from releases.hashicorp.com.

Deploying Terraform Bundles

The Terraform Enterprise web interface includes a screen accessible from Site Admin > Terraform Versions that displays the different versions of the Terraform binary installed.

Summary & Screencast

Working within an air gapped environment shouldn’t be viewed as an impediment to realizing the benefits of infrastructure as code. Understanding the differences when deploying and maintaining your Terraform Enterprise servers in these environments will greatly benefit your effort and are key to achieving success.

Change Sets

If you’re more comfortable working with point-and-click tools, change sets are your deployment friend. A change set represents a set of customizations in your org (or metadata components) that you can deploy to a connected org.

Metadata API

If you’re up to speed on Metadata API and more comfortable in the world of code, use Metadata API to deploy changes programmatically. You can retrieve, deploy, create, update, and delete customization information for your org, such as Experience Cloud sites, custom object definitions, and page layouts.

Get Ready to Develop

Wei Leung, Ursa Major Solar developer, is ready to customize her B2B2C Commerce integrations. But first, she wants to identify the development tools she needs and the specific steps to make this happen. “The better the plan, the better the implementation,” is one of her mottos.

Install the VS Code Editor

The first step Wei takes is to install the VS Code editor, which provides an ideal development environment for creating, compiling, displaying, and debugging Salesforce Lightning web components and B2B2C integration packages.

Get the Salesforce Plugins for VS Code

The VS Code editor provides access to Salesforce plugins that support creating integration packages and custom B2B2C components. The extensions include features for working with development orgs (scratch orgs, sandboxes, and DE orgs), LWCs, and Visualforce.

Install the Salesforce DX CLI

The Salesforce DX (SFDX) CLI lets Wei synchronize source code between her Salesforce orgs and her version control system.

Install the SFDX Commerce B2B2C Plugin

The SFDX Commerce B2B2C plugin helps you perform a variety of B2B2C development tasks. Use it to set up and deploy integration packages to scratch environments for testing or to an org.

Enable the Dev Hub

The Dev Hub org determines where scratch orgs are authorized for Wei’s package project.

Next Steps

In this unit, you explored the development tools you need to customize Salesforce B2B2C Commerce and learned why SFDX is the best choice for this implementation’s development platform. Next, learn how to create a B2B2C Commerce payments package and create custom display components.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9