#From GCP Marketplace


This article provides a step-by-step guide to deploy the SWIFT from the GCP Marketplace.


1. Login to the GCP cloud.

2. Once you log in, choose your project in the console, navigate to the three horizontal lines, and click on 'Marketplace' as shown in the snippets below.





3. Once you select 'Marketplace', a new window will appear. Search for 'SWIFT', and you will see our three templates. Choose the template that best fits your use case. 



 


4. Suppose you choose the BYOL template and click on it. The following screen will appear, and you simply need to click the 'Launch' button.




5. Now give the deployment name and select service account by choosing zone.




6.Now, in the Networking and Firewall section, provide the inputs according to your environment, then click the 'Deploy' button. 




7. Once you Deployed, then it will show you the what Resources have been created.


8. Now, go to Compute Engine and click on 'VM instances' . You will see created instance from marketplace. Please see below snippet for reference.







9. Once you created a VM, then you will have to access it with your GCP account user. Follow the steps below to access your SWIFT VM.  

   a.  gcloud config set project swift-marketplace-public (Put your project name). (gcloud utility must be installed on the VM from where you want to access the SWIFT VM) 



   b. gcloud compute instances add-metadata INSTANCE_NAME --zone ZONE --metadata ssh-keys="gcpaccount:$(cat ~/.ssh/id_rsa.pub)" . [Note: The CLI command that adds SSH keys as metadata to a Google Cloud Compute Engine instance, which allows a user to SSH into the VM.]




  c. ssh -i ~/.ssh/id_rsa gcpaccount@GCP_EXTERNAL_IP  [ssh to your SWIFT VM with external IP.]




  d. Once you logged in successfully, then you can check the SWIFT version and License with below commands with root user.


-- sudo su -    

-- SWIFT version: sc swift show

-- License : sc st sh





10. Now Set up the password for admin user with below command and access the SWIFT dashboard.


Set up the password: sc user modify admin --password "R@ckware123" (Password can set up as per your convenient with one capital letter, one numeric and symbolic pattern)

Access the dashboard : https://<swift-ip>/swift/dashboard/





     You can access the SWIFT dashboard with above link.




11. You can also download the Operations Guide and Pre-requisites/Installation Guide from the dashboard. Simply click on the respective links. Please refer to the snippet below for guidance.  




12. Once you access the SWIFT dashboard, log in with your credentials. You will be directed to the container cluster page. Please see the snippet below for reference.



 

13. Once you are here, now time to activate your SWIFT! If you are using DR or Migration-Subscription instance then your SWIFT is already pre-activated and ready to go (Billing is Pay-as-you-go). If you are using BYOL instance, then by default SWIFT is pre-activated with free Migration trial licenses and ready to use too. If you want to convert/extend SWIFT trial licenses to production licenses on your BYOL instance, then use this below KB link to find steps on how to do that. 


https://rackware.freshdesk.com/a/solutions/articles/5000888707?lang=en



14. Once the license is in place, you can add the cluster in SWIFT and start the replication. For detailed guidance, please refer to the KB article linked below. Additionally, you can refer to the Operations Guide, which is available for download from the dashboard.


How to add cluster: https://rackware.freshdesk.com/a/solutions/articles/5000891147?lang=en

Replication in SWIFT: https://rackware.freshdesk.com/a/solutions/articles/5000891530?lang=en

Replication by applying DR Policy: https://rackware.freshdesk.com/a/solutions/articles/5000890839?lang=en




15.  To request a Freshdesk account, please contact to support@rackwareinc.com