Automated End-to-end SaaS Deployment with Fylamynt

Using Terraform and Slack

Prasen Shelar
April 16, 2021

As companies scale, always-on services are key to business continuity and growth. Hence, Cloud teams need to easily set up and maintain the infrastructure and readily resolve issues.


Here are some common tasks associated with maintaining SaaS deployments :
  • Resolving incidents from tickets logged by customers
  • Auto-scaling and optimizing infrastructure to reduce cloud spend
  • Migrating workloads from on-prem/private to public cloud
  • Monitoring and working with analytics systems such as Datadog, New Relic and AppDynamics
  • Creating ad hoc scripts to automate various tasks such as VM reboots, removing security groups, restarting containers and JVMs, etc.

In an ever-changing programming architecture, this combination of manual and ad hoc automation scripts is neither agile nor scalable. A lot of time is sunk performing rote tasks and upkeeping hand-coded scripts. 

There is a better way. 

Fylamynt’s low-code automation platform helps users streamline organizational processes by assigning configurations to graphical interfaces, rather than the traditional methods of manually writing code. We do the heavy lifting by providing infrastructure-as-code (IAC) through pre-defined triggers and actions within an integrated ecosystem.

Users can easily customize their workflows on a secure platform to automate everyday tasks such as those associated with SaaS deployment.


Here is an example of how to deploy an application with Terraform and get notified about job completion via Slack in a Fylamynt workspace using IAC:
Fylamynt workflow using Terraform and Slack


  1. Use a pre-configured Terraform file to deploy changes that need to be made, for example, deploy all the VMs and Containers in the infrastructure using Terraform.

  1. Adding Terraform Plan to the canvas lets you preview changes before applying. This generates a “Run ID” that you can compare against your infrastructure so that it doesn’t result in service disruption.
Setting up the Plan node


  1. The same Run ID from the previous step Terraform Plan is used in Terraform Apply to provision infrastructure changes. Using the two in sync in Fylamynt workspace reduces the discrepancy between shared team branches and the latest version of the state file.
Setting up the Apply node


  1. When successful, send a message on Slack to the responsible Cloud architect. If not, create a JIRA issue.
Conditional to check if the deployment succeeded

The Cloud architect can then execute the next set of actions using a state management workflow in Fylamynt or track progress on the JIRA issue.

Workflow execution in Fylamynt


As you can see, with this standardized, automated process, Fylamynt orchestrates the data/state flows from Terraform tasks to Splunk and JIRA as appropriate, streamlining end-to-end SaaS deployments. 


The result is less time spent on repetitive manual tasks, faster build automation, ability to solve issues with ease, and a quicker deployment and time to market. Users can essentially deploy full end-to-end software-as-a-solution without writing a single line of code.