Skip to content

Developer setup guide#


This guide aims to prepare developers to use the Application Container Platform. You must complete the steps below before attending the ACP Induction.

All examples in this document are for Linux distributions and instructions for other operating systems will vary. If you choose to use a Windows device, please ensure that Windows Subsystem for Linux is installed.

  1. Set up GovWifi credentials
  2. Office 365
  3. Connecting to ACP VPN
  4. Platform Hub registration
  5. Add a ssh key to Gitlab
  6. Sign in to Sysdig
  7. Join our Slack instance
  8. Required binaries
  9. User agreement

Connecting to GovWifi#

Please refer to Connect to GovWifi to obtain your credentials and set up wireless internet access via GovWifi.

Office 365#

Platform users must have Office 365 Single Sign-On (SSO) credentials for the domain. Please get in touch with your Programme Management Office to request an account or raise an issue on the Support Portal. If you can't access the Board, please ask a colleague to raise a request on your behalf. You will not be able to follow through the rest of this guide unless you have Office 365 credentials.

Connecting to ACP VPN#

Most of ACP's services operate behind a VPN which is accessible with an openvpn client. Instructions on installing openvpn for your OS can be found at OpenVPN

Once you've got your Office 365 SSO credentials, you can now navigate to Remote Access and login with your Office 365 account by clicking on the link on the right.

Please download the VPN profile named "Kube Platform" and use the openvpn client to connect. Verify that you can resolve the Platform Hub before continuing on.

VPN profiles expire after 72 hours. You'll need to download and connect with a new VPN Profile when it expires.

If you cannot resolve the Platform Hub or other ACP services behind the VPN such as sysdig, then please try setting your DNS servers to (Google's DNS servers).

Platform Hub registration#

Please note that you need to have your VPN running to access the Platform Hub and also talk to cluster APIs.

You will need to register with the Platform Hub in order to gain access tokens for our Kubernetes clusters. Head to Platform Hub, you will need your O365 credentials to login/sign up. You will be asked to connect your Github account to your Platform Hub account. This will give you access to project repositories under the UKHomeOffice Organisation in GitHub.

Navigate to the Support Portal (JIRA Service Desk), logging in via your O365 account, and create a support request for access to ACP Induction. The support request will be sent to and reviewed by a member of the ACP team. Any updates on the request will be available to view within the Support Portal and additionally emailed to you.

Please note that if you have an AD-only email account (a digital account without a mailbox), then you can raise a support request to update your email address so that you can receive email notifications on ticket updates.

If you find that you cannot raise support requests, this may be because you have not been added to a team yet. Please ask one of your team members who already has access to the support portal to raise a request to have you added to service desk.

Once created, your token will be shown in the Platform Hub under the Kubernetes section of the Connected Identities tab on the sidebar. You can view all of your tokens by pressing the Show Tokens button.

Add a ssh key to Gitlab#

You will need to add a ssh public key to your Gitlab profile before attending the Induction. Please sign into Gitlab with Office 365 and add a ssh public key to your profile. Instructions for generating a ssh keypair can be found in the Gitlab Docs.

Sign in to Sysdig#

Platform users with a digital account can sign into our Sysdig instance. Just click the OpenID button and then the O365 button.

Initially you will be added to a default team that does not have access to any data, however you will be added to the ACP Induction team on (or shortly before) the day.

Join our Slack instance#

Platform users can join our Slack instance using a Home Office email address. If you do not already have an account on our instance, you can create an account here.

Please note that the sign up process involves clicking a link that will be emailed to you, so if you only have an AD-only digital account (i.e. if your digital email does not have a mailbox), you will need to raise a request to have your corporate email invited to Slack.

Once you have an account on Slack, please join the #acp-support and #acp-induction channels. Other useful channels include #acp-service-status for the current status of ACP services (which can also be found on our status page) and #acp-feedback where you can provide feedback regarding our platform.

Required binaries#

Before joining the ACP Induction, we kindly ask you to install binaries which are used for the deployment of applications in ACP - instructions on how to install these are shown below:

Install Git#

Verify if you have Git installed by:

$ git --version
git version 2.16.2

If Git is not installed, instructions on how to download and install it can be found over at the Git website.

Please note that we assume a basic knowledge of Git for the ACP Induction. If you've not used git before, or need to brush up on your skills please see Git basics.

Install Docker#

You can follow the instructions to install docker from the Docker website. You can verify the installation is successful with:

$ docker --version
Docker version 18.03.1-ce, build 9ee9f40

# version 17.06 or above is required

Install Drone#

Drone CLI can be downloaded from the Drone CI website. Instructions installing on multiple operating systems are shown on the webpage. Currently our Drone server instance is compatible with version 1.2.2, which can be found here.

Verify that the installation is successful:

$ drone --version
drone version 1.2.2

Install Kubectl#

You can follow the instructions to install kubectl from the Kubernetes website. The version you should install should be within one minor version of the Kubernetes version that we are currently running. You can check what version we are currently running here (versions that are not within one minor version may still work correctly for most resources, however it is not guaranteed).

You can verify the installation is successful with:

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.4", GitCommit:"c27b913fddd1a6c480c229191a087698aa92f0b1", GitTreeState:"clean", BuildDate:"2019-02-28T13:37:52Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}

Install AWS CLI#

Follow the official AWS documentation for instructions to install the AWS CLI. You can verify the installation is successful with:

$ aws --version
aws-cli/1.16.28 Python/2.7.10 Darwin/18.2.0 botocore/1.12.18

# version 1.11.91 or above is required

Connecting to the cluster#

In order to access a namespace you will need to configure kubectl to connect to our clusters - instructions on setting it up can be found on the Set up Kube Config button on the Connected Identities page.

Verify that your kubectl is configured properly by trying to list pods and secrets in the acp-induction namespace:

$ kubectl --context=acp-notprod_acp-induction --namespace=acp-induction get pods
No resources found.
$ kubectl --context=acp-notprod_acp-induction --namespace=acp-induction get secrets
NAME                  TYPE                                  DATA      AGE
default-token-dcnmg   3         105d

The output of the command above may differ if there are other pods or extra secrets deployed to the namespace.

User agreement#

Finally, please head over and read through our support documentation to familiarise yourself with the level of service ACP provides to its users including the level and hours of support on offer and issue escalation procedures.