Scalability and Security are Why Funscript.io Migrated to Amazon Web Services (AWS)
Funscript.io operates in the adult entertainment industry, serving as a “one-stop-shop” for a variety of funscript-related tasks. Funscripts allow users to synchronize interactive toys with video content. Funscript.io is an ML-based software solution that is way faster and cheaper in generating new funscripts. By bringing down the cost, they aim to provide access to interactive videos to a much broader user base.
Funscript.io had the need to make its application and infrastructure scalable to accommodate changes in demand and data volume growth. Funscript.io engaged Cloudvisor, an Advanced Tier AWS Partner, to help migrate their application from a local machine and testing server to the AWS cloud. Cloudvisor was a clear choice for the migration project as they understand the complexity of adopting a new cloud services solution and have significant experience in AWS migrations.
Why AWS?
Scalability and Security
The application was refactored into Docker containers to implement an auto-scaling solution managed by Amazon Elastic Container Service (ECS). Amazon ECS is a fully managed container orchestration service with built-in auto-scaling features.
To run their containers with ECS, Funscript.io opted for Amazon Elastic Compute Cloud (EC2) Spot Instances – specifically GPU-based instances for accelerated computing.
Spot-instance pricing makes high-performance GPUs much more affordable. The GPU-based instances provide access to NVIDIA GPUs with thousands of computing cores, which allows Funscript.io’s algorithm to use the GPU power to compute, calculate and process videos faster.
Within Elastic Load Balancing, Cloudvisor configured the auto-scaling policy for Funscript.io’s application based on CPU and memory utilization metrics. ECS starts and stops new containers automatically to make sure the application load is disturbed – no developer intervention is required. Auto-scaling makes Funscript.io’s application highly available, reliable, and secure irrespective of the load.
A virtual private cloud (VPC) was set up for Funscript.io so that all their containers are hosted in private subnets. This ensures no direct access from the internet to Funscript.io’s infrastructure, while users can only access the application through the Application Load Balancer. This approach addresses sudden usage spikes and secures the environment.
Maintainability
To fully benefit from Amazon ECS, Funscript.io also adopted the infrastructure-as-code (IaC) approach. IaC allows infrastructure changes to be initiated through a source control mechanism and integrates it as an automated part of a CI/CD pipeline. Terraform scripts were the main component in creating the CI/CD pipeline for Funscript.io, resulting in automatic deployment for any changes made in the application code.
Terraform scripts give Funscript.io agility to easily make infrastructure changes, like changing the instance types or scaling options, by adjusting the variables file. When running Terraform, changes made there take effect in all other terraform scripts automatically.
AWS Services Used
- Amazon ECS
- Amazon EC2
- Elastic Load Balancer
- Amazon VPC
- Amazon S3
- Amazon ECR
- Amazon Cloudwatch
- Amazon ACM
Why Do Over 500+ Startups Trust Cloudvisor?
At Cloudvisor, we have one simple goal: We help startups scale with AWS.
The Cloudvisor team has a unique combination of experience working with AWS and also applying those solutions in a way that helps startups thrive. One-half of Cloudvisor’s DNA is AWS, the other is startups.
Want to discover how you can take your AWS implementation to the next level? Book a Free Consultation!