OpsMx adds latest Spinnaker version on AWS Marketplace

Overview

OpsMx is excited to announce the availability of Spinnaker AMI on AWS Marketplace. The Spinnaker AMI will allow users to launch Open Source Spinnaker 1.24.1 with Minio Storage, and it is absolutely free. Try here.

Prerequisites

  • Below are the mandatory configurations to launch OpsMx AMI
    • Launch an m4.2xlarge
    • Setup Spinnaker related security groups
    • Mandatory to have Kubernetes installed and have kubeconfig handy.

Types of AMI’s release by OpsMx

  1. Distributed Spinnaker
    • Easy Installation and configuration of Minikube and Container-Based Spinnaker.
  2. Local Debian Spinnaker
    • Pre-Installed Spinnaker with Minio Storage.

Step by Step Instructions to Launch Distributed Spinnaker AMI

  • Login to AWS Console.
  • Click on Services dropdown -> Click on EC2 -> Click Launch Instance -> Search for Spinnaker-1.24.1 -> Select OpsMx Enterprise for Spinnaker and click Next.
    Select OpsMx Enterprise for Spinnaker in AWS
    Select OpsMx Enterprise for Spinnaker in AWS
  • Select m4.2xlarge 8cores & 32gb RAM and click on Configure Instance Details.
     
    Select Spinnaker instance with m4.2xlarge 8cores & 32gb RAM
    Select Spinnaker instance with m4.2xlarge 8cores & 32gb RAM
  • Select a Subnet that provides the No. of IP addresses available from the Subnet Dropdown, also select any IAM role and click on Add Storage.

Select a Subnet and an IAM role

  • As we are using a bundled AMI, Storage will be mentioned by default from the root volume, now click on Add Tags.

Spinnaker storage mentioned by default from the root volume

  • Click to Add a Name Tag and name the instance for your reference and Click to Configure Security Group

Add a name tag for the Spinnaker instance

  • In Security Group, add a new rule and Allow ‘All Traffic’ to ‘0.0.0.0/0’ if permits. In case of restrictions in your organization for All Traffic, you can just execute “kubectl get svc -n spin” and add the Node Port which has five digits for the “spin-deck” and “spin-gate” services. Click on Review and Launch
  • Click on Launch to Select the pemkey and finalize Launch Instances

Select an existing or create a new keypair to launch Spinnaker

  • The newly launched Spinnaker Instance should now successfully reflect in the EC2 Dashboard.
  • Now, login to the server using the pem key, by executing the below command
    ssh -i “your.pem” ubuntu@<Public IP Address>
  • While the instance is launching the installation might continue in the back end. If you would like to check the progress of the installation, try “tail -f install.log”
  • To complete the installation and have an active Spinnaker to access it might take 15mins. In the “Install.log” upon successful completion of Installation, you will get the URL to access your Spinnaker.
  • The URL will be http://<PublicIP>:<spin-deck NodePort>

Step by Step Instructions to Launch Local Debian Spinnaker AMI

  • Login to AWS Console
  • Click on Services dropdown -> Click on EC2 -> Click Launch Instance -> Search for OpsMx Enterprise for Spinnaker with Minio Storage -> Select and Click Next.
Select OpsMx Enterprise for Spinnaker in AWS
Select OpsMx Enterprise for Spinnaker in AWS

  • Select t2.2xlarge 8cores & 32gb RAM and click on Configure Instance Details
Select Spinnaker instance type as t2.2xlarge 8cores & 32gb RAM
Select Spinnaker instance type as t2.2xlarge 8cores & 32gb RAM

  • Select a Subnet that provides the number of IP addresses available from the Subnet dropdown, also select any IAM role and click on Add Storage
Select a Subnet and an IAM role
Select a Subnet and an IAM role

  • As we are using a bundled AMI, Storage will be mentioned by default from the root volume, now click on Add Tags.
Add Tags
Add Tags

  • Click to Add a Name tag and name the instance for your reference and click to Configure Security Group
Click to Add a Name tag and name the Spinnaker instance for your reference
Click to Add a Name tag and name the Spinnaker instance for your reference

  • In this section, click on add a new rule to add and expose all the spinnaker related ports, refer to the below screenshot to find all the Spinnaker related ports, and click on Review and Launch
Expose all Spinnaker related ports, Review, and Launch
Expose all Spinnaker related ports, Review, and Launch

  • Click on Launch to Select the pemkey and finalize Launch Instances.
Select an existing or create a new keypair to launch Spinnaker
Select an existing or create a new keypair to launch Spinnaker

  • The newly launched Spinnaker Instance should now successfully reflect in the EC2 Dashboard.
  • Now, login to the server using the pem key, by executing the below command
    ssh -i “your.pem” ubuntu@<Public IP Address>
  • Execute an ‘ifconfig’ and capture the ‘inet addr’ to start the minio service.
  • Execute the below command to start up minio service, with the port number that minio will be listening. Upon successful startup of script, refer to the below screenshot for the output
sudo ./minio server --address <IP Address>:9001 /data &

 

 

 

 

 

  • Create/Copy, kubeconfig file from Kubernetes installation and ensure to update it from the following location ‘~/.kube’
  • Click here for ‘V2’ Service account creation.
  • Execute the below commands to publish the deck and gate port
hal config security ui edit \
--override-base-url http://<Public IP>:9000

hal config security api edit \
--override-base-url http://<Public IP>:8084
Spinnaker deployment success
Spinnaker deployment success

 

 

 

 

 

 

  • To access Spinnaker Console, restart the Spinnaker services by executing the below command.
sudo hal deploy apply


If you want to know more about Spinnaker or request a demonstration, please book a meeting with us.

OpsMx is a leading provider of Continuous Delivery solutions that help enterprises safely deliver software at scale and without any human intervention. We help engineering teams take the risk and manual effort out of releasing innovations at the speed of modern business. For additional information, contact us

Leave a Comment

Your email address will not be published.

You may like