Need advice about which tool to choose?Ask the StackShare community!
AWS CloudFormation vs Visual Studio Team Services: What are the differences?
Introduction
In this analysis, we will explore the key differences between AWS CloudFormation and Visual Studio Team Services (VSTS) for website development.
Deployment Process: AWS CloudFormation provides infrastructure as code to automate the deployment of infrastructure resources in a systematic manner. It allows you to define templates that describe resources and their configuration. On the other hand, VSTS offers a complete CI/CD pipeline solution, including code repository, build, and release management. While CloudFormation focuses on infrastructure provisioning, VSTS covers the entire development lifecycle.
Platform Compatibility: AWS CloudFormation is specifically designed for managing resources within the AWS ecosystem. It supports a wide range of AWS services and integrates well with other AWS tools and services. In contrast, VSTS is a more general-purpose platform that supports multiple cloud providers and can be used with both on-premises and cloud-based infrastructure. VSTS offers flexibility for managing resources across different cloud environments.
Resource Definitions: CloudFormation templates use a declarative language to define infrastructure resources. With these templates, you can specify the desired state of the resources, and AWS handles the provisioning and deployment details automatically. On the other hand, VSTS uses a combination of declarative YAML pipelines and script-based tasks to define and deploy resources. VSTS offers more flexibility for customization and scripting but requires more configuration compared to CloudFormation.
Scalability and Orchestration: AWS CloudFormation supports resource orchestration, allowing you to create complex stacks of resources with dependencies and perform updates and deletions in a controlled manner. It provides automatic scaling for certain types of resources, making it easier to handle dynamic workloads. In comparison, while VSTS supports scaling and orchestration to some extent, it primarily focuses on deployment and release management rather than resource provisioning.
Cost Management: CloudFormation provides visibility into the estimated costs of deploying resources, allowing you to estimate and manage costs more accurately. It offers cost allocation tags, enabling you to track expenses across different projects or teams. On the other hand, VSTS does not provide specific cost management features and relies on integrating with other tools or services for cost monitoring and control.
Ecosystem and Integration: AWS CloudFormation is tightly integrated with the broader AWS ecosystem, and it can leverage other AWS tools and services for tasks such as monitoring, logging, and security management. It seamlessly integrates with AWS Identity and Access Management (IAM) for resource-level permissions. VSTS, on the other hand, provides integrations with various third-party tools and services and can be used with different development and deployment platforms, providing more flexibility and enabling you to work with your preferred tools.
In Summary, while AWS CloudFormation focuses on infrastructure provisioning and resource management within the AWS ecosystem, Visual Studio Team Services (VSTS) offers a comprehensive CI/CD pipeline solution that covers the entire development lifecycle, provides platform compatibility across multiple cloud providers, and offers more customization and integration options.
Because Pulumi uses real programming languages, you can actually write abstractions for your infrastructure code, which is incredibly empowering. You still 'describe' your desired state, but by having a programming language at your fingers, you can factor out patterns, and package it up for easier consumption.
We use Terraform to manage AWS cloud environment for the project. It is pretty complex, largely static, security-focused, and constantly evolving.
Terraform provides descriptive (declarative) way of defining the target configuration, where it can work out the dependencies between configuration elements and apply differences without re-provisioning the entire cloud stack.
AdvantagesTerraform is vendor-neutral in a way that it is using a common configuration language (HCL) with plugins (providers) for multiple cloud and service providers.
Terraform keeps track of the previous state of the deployment and applies incremental changes, resulting in faster deployment times.
Terraform allows us to share reusable modules between projects. We have built an impressive library of modules internally, which makes it very easy to assemble a new project from pre-fabricated building blocks.
DisadvantagesSoftware is imperfect, and Terraform is no exception. Occasionally we hit annoying bugs that we have to work around. The interaction with any underlying APIs is encapsulated inside 3rd party Terraform providers, and any bug fixes or new features require a provider release. Some providers have very poor coverage of the underlying APIs.
Terraform is not great for managing highly dynamic parts of cloud environments. That part is better delegated to other tools or scripts.
Terraform state may go out of sync with the target environment or with the source configuration, which often results in painful reconciliation.
I personally am not a huge fan of vendor lock in for multiple reasons:
- I've seen cost saving moves to the cloud end up costing a fortune and trapping companies due to over utilization of cloud specific features.
- I've seen S3 failures nearly take down half the internet.
- I've seen companies get stuck in the cloud because they aren't built cloud agnostic.
I choose to use terraform for my cloud provisioning for these reasons:
- It's cloud agnostic so I can use it no matter where I am.
- It isn't difficult to use and uses a relatively easy to read language.
- It tests infrastructure before running it, and enables me to see and keep changes up to date.
- It runs from the same CLI I do most of my CM work from.
Pros of AWS CloudFormation
- Automates infrastructure deployments43
- Declarative infrastructure and deployment21
- No more clicking around13
- Any Operative System you want3
- Atomic3
- Infrastructure as code3
- CDK makes it truly infrastructure-as-code1
- Automates Infrastructure Deployment1
- K8s0
Pros of Azure DevOps
- Complete and powerful56
- Huge extension ecosystem32
- Azure integration27
- Flexible and powerful26
- One Stop Shop For Build server, Project Mgt, CDCI26
- Everything I need. Simple and intuitive UI15
- Support Open Source13
- Integrations8
- GitHub Integration7
- One 4 all6
- Cost free for Stakeholders6
- Project Mgmt Features6
- Crap5
- Runs in the cloud5
- Agent On-Premise(Linux - Windows)3
- Aws integration2
- Link Test Cases to Stories2
- Jenkins Integration2
- GCP Integration1
Sign up to add or upvote prosMake informed product decisions
Cons of AWS CloudFormation
- Brittle4
- No RBAC and policies in templates2
Cons of Azure DevOps
- Still dependant on C# for agents8
- Many in devops disregard MS altogether5
- Capacity across cross functional teams not visibile4
- Not a requirements management tool4
- Half Baked4
- Jack of all trades, master of none3
- Poor Jenkins integration3
- Tedious for test plan/case creation2