<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Scale Factory - Medium]]></title>
        <description><![CDATA[We’re Scale Factory: an AI enablement consultancy formed from the coming together of Ten10 and The Scale Factory. Together, we bring deep expertise across quality engineering, cloud, data, agentic automation, and next-gen capability — all under one roof, all delivered on-shore. - Medium]]></description>
        <link>https://medium.com/scale-factory?source=rss----b6ef5be856b4---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Scale Factory - Medium</title>
            <link>https://medium.com/scale-factory?source=rss----b6ef5be856b4---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 21:00:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/scale-factory" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What is cloud native and what value does it bring?]]></title>
            <link>https://medium.com/scale-factory/what-is-cloud-native-and-what-value-does-it-bring-dbcd3c621529?source=rss----b6ef5be856b4---4</link>
            <guid isPermaLink="false">https://medium.com/p/dbcd3c621529</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cncf]]></category>
            <category><![CDATA[cloud-native]]></category>
            <dc:creator><![CDATA[James Lochhead]]></dc:creator>
            <pubDate>Tue, 24 Jan 2023 11:53:00 GMT</pubDate>
            <atom:updated>2023-01-24T12:41:11.240Z</atom:updated>
            <content:encoded><![CDATA[<p>The Cloud Native Computing Foundation (CNCF), part of the Linux Foundation, was created in 2015, and is a key force behind cloud native technologies. The Cloud Native Computing Foundation currently provides the following definition:</p><p><em>“Cloud native technologies empower organizations to build and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, service meshes, microservices, immutable infrastructure, and declarative APIs exemplify this approach.</em></p><p><em>These techniques enable loosely coupled systems that are resilient, manageable, and observable. Combined with robust automation, they allow engineers to make high-impact changes frequently and predictably with minimal toil.</em></p><p><em>The Cloud Native Computing Foundation seeks to drive adoption of this paradigm by fostering and sustaining an ecosystem of open source, vendor-neutral projects. We democratize state-of-the-art patterns to make these innovations accessible for everyone.”</em></p><p>- <a href="https://github.com/cncf/toc/blob/ac166298bd3bb24201748a45f60ddb95c40589da/DEFINITION.md">CNCF Cloud Native Definition v1.0</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6JF9w1gOLVQytB-Pn2R_3w.png" /><figcaption><a href="https://www.cncf.io/">© The Linux Foundation</a></figcaption></figure><p>People often mistakenly conflate containers and Kubernetes with cloud native; containers and Kubernetes are one of many types of cloud native technology. Cloud native is really about making best use of utility computing and API-driven infrastructure to deliver maximum business value. Legacy SaaS workloads that aren’t yet using a cloud native approach are probably excessively costly; I’ve written about that previously: <a href="https://www.scalefactory.com/blog/2022/12/15/cut-cloud-costs-by-going-cloud-native/">Cut cloud costs by going cloud native</a>.</p><h3>The vision and benefits</h3><p>Before the evolution and definition of the cloud native approach, IT professionals would often set up pet servers — manually configured virtual or physical servers. The primary problem with these servers was that they were not reproducible because their state was often unknown. If a server had to be replaced — either for business reasons or disaster recovery — the level of risk was excessively high as the new pet might not be exactly the same as the old one. Additionally, maintaining pet servers is also very time intensive.</p><p>Prior to the emergence and definition of the cloud native approach, teams adopted configuration management tools such as Ansible and Puppet. Those tools set up servers to match a specification. In a modern, cloud-native deployment workflow, these tools are often an unnecessary extra step.</p><p>The cloud native approach solves this problem by encouraging immutable infrastructure and automation, and providing technologies to achieve it. Immutable infrastructure does not change after it is deployed. Instead, the team — or, ideally, an automated management tool — starts up a replacement system that starts up and takes over. Once the new component has taken over, the old system is ready to shut down. In the cloud, buying and disposing of computer systems is so simple, a computer can do it for you.</p><p>As a further consequence of achieving immutable infrastructure, new (repeatable) environments can rapidly be created; this cuts time-to-market and is also great for recovering from a disaster. Maintaining many customer specific environments is also much less time intensive.</p><p>The cloud lets you manage non-production infrastructure easily too. This is great for testing: instead of sharing a single preproduction environment that stays running each time, you can reach a point where teams or colleagues can create — or destroy — a test environment quickly, easily, and on demand. Self-service test environments help cut cycle time, reduce the risk of changes, and have a great psychological impact in boosting the confidence of development teams in making small regular changes. Bugs and rework are reduced because developers can quickly get good feedback on their code without waiting for real customers to use a service.</p><p>Some sectors, for example financial services or pharmaceuticals, require strong security isolation of environments from their SaaS providers. Cloud native technologies allow companies to achieve this strong security isolation in a low cost manner. For sectors with less stringent security requirements, cloud native technologies also enable resources to be pooled to reduce costs.</p><p>Businesses that achieve cloud native architecture can feasibly (and often do) test a release completely via automation; this decreases the overall cost of releases and means releases can happen more frequently.</p><p>Cloud native technologies enable elastic infrastructure — infrastructure that can scale based on customer demand. While no customers are using a service, it could scale down to one or even zero replicas (in the cloud, you typically run more than one replica of the same component for reliability — and APIs make it easy to do that). On the other hand, at peak time, there could be many running replicas to match a high level of demand. As cost is usually based on the number of replicas — servers, containers, etc — that are running, elastic infrastructure is great for reducing costs.</p><p>AWS’s definition of cloud native also includes adopting managed services where appropriate; this is often a good idea as it reduces the total cost of ownership. Firms like AWS can maintain the lower parts of the software stack more efficiently than most companies, due to economies of scale.</p><p>If you haven’t already, consider adopting a cloud native approach to improve the resilience, manageability, and observability of your infrastructure; and to enable engineers to deliver high value changes regularly.</p><p><em>Need help modernising your SaaS infrastructure? </em><a href="https://www.scalefactory.com/contact-us/"><em>Get in touch</em></a><em> for a free chat about how we could help.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbcd3c621529" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scale-factory/what-is-cloud-native-and-what-value-does-it-bring-dbcd3c621529">What is cloud native and what value does it bring?</a> was originally published in <a href="https://medium.com/scale-factory">Scale Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ECS vs EKS: Which container orchestrator to choose?]]></title>
            <link>https://medium.com/scale-factory/ecs-vs-eks-which-container-orchestrator-to-choose-1b8059814d28?source=rss----b6ef5be856b4---4</link>
            <guid isPermaLink="false">https://medium.com/p/1b8059814d28</guid>
            <category><![CDATA[container-orchestration]]></category>
            <category><![CDATA[amazon-eks]]></category>
            <category><![CDATA[amazon-ecs]]></category>
            <dc:creator><![CDATA[Tinè Seljak]]></dc:creator>
            <pubDate>Tue, 20 Dec 2022 12:26:17 GMT</pubDate>
            <atom:updated>2022-12-20T12:26:17.077Z</atom:updated>
            <content:encoded><![CDATA[<p>In the world of IT infrastructure, there is a lot of buzz around containers and how companies are migrating from systems like Elastic Beanstalk, or plain EC2 instances, to Amazon Elastic Container Service (ECS) or to Amazon Elastic Kubernetes Service (EKS). I think it’s fair to say that Kubernetes and EKS are the hot topic, even 7 years after the <a href="https://kubernetes.io/blog/2015/07/kubernetes-10-launch-party-at-oscon/">1.0 release</a>. Is Kubernetes really worth it and does it suit each and every business? Let’s dig deeper to find out.</p><h3>The rise of containers</h3><p>Before I go further into comparisons, I’ll cover the basics: containers, and why they’re gaining such popularity in recent years.</p><p>In a more traditional virtualisation world where you manage your hypervisor on each hardware server, virtualisation occurs at a hardware level. This means that each virtual machine contains a virtual copy of the hardware, an application, the application’s libraries, dependencies and the guest OS to run the application.</p><p>Instead of virtualising the underlying hardware, containers typically divide up a shared host operating system. Each container’s filesystem consists only of an application and all its dependencies (such as system libraries, or the list of trusted CA certificates). As a result, containers have less overhead and provide a more agile way of handling virtualisation, as opposed to virtual machines. However, the real innovation with containers is about the image format. Unlike virtual machine images (such as Open Virtual Appliance), the expectations around a container image and how to start it are well-defined. Developers can publish an image they make on their own PC and be confident that it’ll start up OK in your cloud environment. Due to their lightweight, containers can significantly decrease the boot time, maximize underlying host resources and reduce infrastructure costs compared to VMs. It’s no wonder why containers have gained such immense popularity in the past decade.</p><p>According to Redis, Gartner <a href="https://redis.com/blog/redis-enterprise-operator-for-kubernetes/#:~:text=according%20to%20gartner%2C%20by%202027%2C%20more%20than%2090%25%20of%20global%20organizations%20will%20be%20running%20containerized%20applications%20in%20production">estimates</a> that ≅90% of global organisations will be running containerized applications in production by 2027.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Jj7-aStdNwsGj090.jpg" /></figure><p><a href="https://unsplash.com/@hooverpaul55">Photo by Paul Teysen</a></p><h3>Why use container orchestration?</h3><p>In order to deploy, scale and manage containerised applications on a production scale and without downtime, you need automation. This is when container orchestrators come into play. There are plenty of container orchestrators from various cloud providers. Two flagship container platforms from AWS are ECS and EKS.</p><p><a href="https://aws.amazon.com/ecs/">Amazon Elastic Container Service (ECS)</a> is a highly scalable, high-performance container management service that supports containers and allows you to efficiently run applications on a managed cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances. ECS also provides a Fargate option, which is a serverless compute engine that allows you to use containers without having to manage and patch the underlying EC2 instances.</p><p>On the other hand, <a href="https://aws.amazon.com/eks/">Amazon EKS</a> is a managed Kubernetes service to run containers in the AWS cloud or on-premises data centers. Similar to ECS, the EKS also provides an option to run your containerized workload as the AWS Fargate type.</p><h3>Benefits of ECS</h3><p>Managing ECS is super simple compared to using Kubernetes, including EKS. ECS is a more out-of-the-box platform; it’s much less flexible than EKS — but it includes the essentials for running typical SaaS applications in AWS. ECS definitely ticks the simplicity box, especially if you use serverless compute through AWS Fargate which removes the burden of maintaining the underlying EC2 instances as well.</p><p>ECS is a great starting point if you are migrating from the more traditional EC2s and VMs, as it also comes with fully built-in support. If your starting point is outside of the cloud, and you still have an investment in on-premises equipment, <a href="https://aws.amazon.com/ecs/anywhere/">Amazon ECS Anywhere</a> lets you use that too.</p><p>Want to learn more on the topic? We have a couple of other articles, including <a href="https://www.scalefactory.com/blog/2022/10/25/turbocharging-your-technology-strategy-with-ecs-and-fargate/">Turbocharging your technology strategy with ECS and Fargate</a> . If you’re interested in more about how Fargate looks behind the scenes, read <a href="https://www.scalefactory.com/blog/2021/05/12/what-powers-ecs-fargate/">What Powers ECS Fargate</a>.</p><p>The ECS control plane costs you nothing to run. This means that having ECS clusters sat idle need not cost money (providing you use Fargate or Fargate spot) — a key financial benefit for some architectures.</p><h3>Downside of selecting ECS</h3><p>ECS is compatible with most AWS services, but there can be limitations on integrations with third-party software and systems. Due to its simplicity, ECS can in some cases prove to be limiting when the application and business requirements start to grow in complexity and size. Although it’s AWS proprietary technology, vendor lock-in is less of a concern: using containers typically means that you can switch to a different platform without any changes to your app or how you built it.</p><h3>Benefits of EKS</h3><p>Since EKS uses Kubernetes, it’s more flexible and portable: you could migrate your workload to another cloud provider more easily than you could from ECS. This makes it more suitable for complex multi-cloud workload requirements. Compared to Kubernetes on bare metal, EKS means that AWS manages the control plane — including components like etcd, scheduler and Kubernetes API server. EKS also comes with built-in, managed integration to other AWS services, such as AWS Identity and Access Management (IAM). This does mean that even with EKS you have a certain level of vendor lock-in, however on a smaller scale than with ECS. EKS offers you much more control over cluster management and scheduling of resources compared to ECS. Since EKS uses Kubernetes you have access to the open-source community with a large ecosystem of 3rd party tools and add-ons. That ecosystem and the quality of offerings there is what lets Kubernetes adopters build a rich and productive developer experience. If your business requirements mean you need to keep a workload on-premises, AWS also offers <a href="https://aws.amazon.com/eks/eks-anywhere/">Amazon EKS Anywhere</a>, which lets you create and operate Kubernetes clusters on-premises.</p><p>Some other key scenarios when you might want to pick Kubernetes/EKS have already been covered by my colleague Tim:</p><ul><li><a href="https://www.scalefactory.com/blog/2021/06/22/why-use-kubernetes/#5-topology-aware-task-placement">Does your workload have special scheduling requirements?</a></li><li><a href="https://www.scalefactory.com/blog/2021/06/22/why-use-kubernetes/#4-two-way-scaling">Are you struggling to find the right resource allocations for different workloads?</a></li><li><a href="https://www.scalefactory.com/blog/2021/06/22/why-use-kubernetes/#3-operators">Are you looking to customize and simplify your application management?</a></li><li><a href="https://www.scalefactory.com/blog/2021/06/22/why-use-kubernetes/#1-youre-already-cloud-native">Are you already cloud native?</a></li><li><a href="https://www.scalefactory.com/blog/2021/06/22/why-use-kubernetes/#2-youve-outgrown-a-simpler-option">Have you tried ECS and outgrown it?</a></li></ul><h3>Downsides of selecting EKS</h3><p>EKS requires a fair amount of configuration and experience to set up and run on a production scale. Even relying on a managed control place such as EKS, it’s common to need to invest in new skills and training. As mentioned earlier, EKS removes some of the heavy lifting and responsibility of setting up and maintaining Kubernetes clusters, however, it still requires your IT staff to have an appropriate knowledge of Kubernetes in order to take full advantage of it. The more that you use from the wider ecosystem, the bigger proportion of your container platform that you end up managing yourself. As with ECS, you pay for the compute that you use; you also pay an additional charge of $0.10/hour for each EKS cluster. The additional cost for EKS vs ECS is not significant if you operate just one cluster, however, if you spread your workloads across several Kubernetes clusters, the monthly fees do add up.</p><h3>Which orchestrator to choose?</h3><p>Choosing between EKS and ECS largely depends on the size, maturity, and requirements of the business. Businesses should select a container orchestrator most aligned with their application requirements and operational preferences. Businesses in the early phase of embracing containers at scale which are looking for powerful simplicity should start with ECS, as it removes the complexity that EKS can bring. Even though ECS is an Amazon specific technology, it builds on open standards such as OCI. Migrating away — if you ever needed to — is rarely difficult on the ECS side of things.</p><p>If you’re designing an architecture for an organisation with larger/hybrid deployments, EKS’ flexibility to optimise infrastructure at scale, and excellent scope for customisation, might make it the right choice. The bottom line is that each business should evaluate both ECS and EKS against their application requirements and management needs, as well as the skills of their IT staff.</p><p><em>Need help with migration to ECS or EKS? Get in touch for a </em><a href="https://www.scalefactory.com/contact-us/"><em>free initial chat</em></a><em> about the container platform that suits your business.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b8059814d28" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scale-factory/ecs-vs-eks-which-container-orchestrator-to-choose-1b8059814d28">ECS vs EKS: Which container orchestrator to choose?</a> was originally published in <a href="https://medium.com/scale-factory">Scale Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cut cloud costs by going cloud native]]></title>
            <link>https://medium.com/scale-factory/cut-cloud-costs-by-going-cloud-native-dfca4721c22a?source=rss----b6ef5be856b4---4</link>
            <guid isPermaLink="false">https://medium.com/p/dfca4721c22a</guid>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[saas]]></category>
            <dc:creator><![CDATA[James Lochhead]]></dc:creator>
            <pubDate>Thu, 15 Dec 2022 11:25:29 GMT</pubDate>
            <atom:updated>2022-12-15T11:25:29.582Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you got a legacy SaaS workload on the cloud that is costing you an arm and a leg? Does it take a long time to get features to market? Is your engineering team spending lots of time on tasks far removed from value centres?</p><p>If that sounds familiar, I’d suggest reading on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/0*6OBW5_0lAi3qQ0lF.png" /></figure><p>Typically, legacy SaaS workloads have undergone a <a href="https://aws.amazon.com/products/storage/lift-and-shift/">lift-and-shift</a> from an on-premises data centre. A lift-and-shift means copying the on-premises architecture (almost) exactly into the cloud. Lift-and-shift migrations are a cheap and fairly simple way to get your application into the cloud. However, retaining the same architecture in the long-term means you are not taking full advantage of cloud native architecture, and are not realising the full potential of your migration to the cloud.</p><p>“<a href="https://aws.amazon.com/what-is/cloud-native/"><em>Cloud native is the software approach of building, deploying, and managing modern applications in cloud computing environments</em></a><em>.</em>” Embracing a cloud native architecture can increase efficiency, reduce costs, and ensure availability of services; let’s explore this more.</p><p>A key advantage of public cloud computing (and cloud native) over on-premises solutions is automatically scaling for demand. If you lifted-and-shifted the architecture from on-premises, you may have a fixed number of virtual machines that you provisioned to meet peak demand, and these are active even if your service is not under heavy load. Provisioning for that peak demand could (and likely will) mean large unnecessary costs. On-demand cloud infrastructure can scale up and down to match your needs, and customer load, reducing costs in low traffic periods. Some cloud architectures are billed at zero when they’re not being actively used.</p><p>With legacy SaaS workloads you have to manage the entire software stack in-house, which takes a lot of human resource and is therefore costly. Managing the entire software stack in-house only really makes sense when you have lots of economies of scale.</p><p>Whatever the scale of your business, it can make far more sense to use managed services. With a managed service, a public cloud provider such as AWS operates the majority of the software stack for you, leaving you to configure the top layers to your requirements. The economies of scale of public cloud allows those firms to do a cost-efficient and top-notch job at the lower levels of the software stack. It rarely makes good financial sense to hire an expensive engineer to manage the entire software stack when AWS might be able to sell you a managed service that delivers the same value for a fraction of the cost.</p><p>SaaS businesses that use managed cloud services often find they have a large advantage over the competition. In a 2017 survey by Frost &amp; Sullivan, 76% of businesses that have already migrated to the cloud said <a href="https://www.ibm.com/downloads/cas/WP6N9OLN">cloud managed services are an essential part of their IT strategy</a>. Businesses surveyed realised advantages in areas such as the predictability of IT costs, workload performance, faster delivery of applications, reduced capital expenditure, and shorter time-to-market.</p><p>Hiring in-house experts that specialise in public cloud can be tricky, as it’s a set of skills that are in demand. If you’re finding that, or you don’t have those roles internally, consider getting some external advice. Even though the principles and the underlying technologies are going to be the same, public cloud is not like buying a basic utility like water or electricity; the skills are different. The Scale Factory specialises in helping customers who use AWS, because that lets our team focus on deep understanding of the infrastructure services you’re going to use.</p><p>Database management can be particularly costly in comparison to using a managed database solution such as <a href="https://aws.amazon.com/rds/">Amazon RDS</a>. Managing a complete database solution effectively is a full time job, or even a team. With RDS, your team is just a few clicks (or terminal commands) from being able to provide durability across multiple data centres, automated snapshots, durable automated back-ups (with <a href="https://aws.amazon.com/backup/">AWS Backup</a>), and insight into bottlenecks in database performance.</p><p>Does your legacy workload involve managing long-lived servers? The cloud changes the game here. On-premises, you want servers that are durable to get the best return on capital, and to reduce expensive costs to rack up a replacement. Cloud servers are still just as reliable, but the set up costs can be much lower. The focus shifts from keeping a server healthy towards being able to set up a replacement quickly. Once that process is in place, you can use it to deal with all kinds of operational events — such as handling a security incident — and not just for the case when an on-premises server physically packs up.</p><p>Modern cloud native architecture has solved the problem of managing servers at scale using an approach called <em>immutable infrastructure</em>. Immutable infrastructure means that once a server is deployed, not only do you stop managing the software in it: you actually can’t make changes at all.</p><p>Once you have achieved immutable infrastructure via automation, there is no longer any need for servers to be long-lived, and they can be re-built regularly. AWS auto-scaling also knows how to replace a server that has failed, completely automatically. Instead of turning it off and on again, the paradigm changes. You turn a failed server off, and let the cloud automation self-heal to bring up a working replacement. The process of re-building services regularly has many knock-on benefits that make the change worthwhile. Re-building services regularly encourages engineers to reduce build time, which will eventually lead to lower cycle time and less re-work; feedback in pre-production environments will occur more rapidly.</p><p>When services can be re-built consistently and quickly via automation, it immediately betters your disaster recovery story too. You no longer need to focus so much on the infrastructure layer and application layer — the automation takes care of this. Instead, you can focus on details such as customer communications, or on how you’d restore the data layer and codebase. In the cloud, it’s routine to configure your architecture to span multiple geographically distributed data centres, for increased durability.</p><p><em>If you’ve made the first leap into the cloud, and are keen to take the next key step, our </em><a href="https://www.scalefactory.com/consulting/packages/migration-assessment/"><em>cloud migration assessment</em></a><em> gives you a business case, a platform architecture, and a plan to deliver that.</em> <em>We can schedule a free </em><a href="https://www.scalefactory.com/contact-us/"><em>initial assessment</em></a><em> to arrange the next steps.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfca4721c22a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scale-factory/cut-cloud-costs-by-going-cloud-native-dfca4721c22a">Cut cloud costs by going cloud native</a> was originally published in <a href="https://medium.com/scale-factory">Scale Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why should you migrate your SaaS from Heroku to AWS?]]></title>
            <link>https://medium.com/scale-factory/why-should-you-migrate-your-saas-from-heroku-to-aws-8ebadffeecce?source=rss----b6ef5be856b4---4</link>
            <guid isPermaLink="false">https://medium.com/p/8ebadffeecce</guid>
            <category><![CDATA[heroku]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[James Lochhead]]></dc:creator>
            <pubDate>Thu, 15 Dec 2022 11:18:56 GMT</pubDate>
            <atom:updated>2022-12-15T11:23:21.512Z</atom:updated>
            <content:encoded><![CDATA[<p>Heroku and Amazon Web Services (AWS) are two competing cloud platforms. Each platform can host application code, however, the details and costs of this vary vastly between the two.</p><p>Heroku is a form of <a href="https://aws.amazon.com/types-of-cloud-computing/">Platform as a Service(PaaS)</a>. In plain English, PaaS means you give the platform some application code (perhaps some business logic) and it takes care of everything else (including scaling).</p><p>AWS is a vast offering of over 200 distinct services. While AWS also offers PaaS, for the purposes of this article, we will be focussing on <a href="https://aws.amazon.com/types-of-cloud-computing/">Infrastructure as a Service (IaaS)</a>. In plain English, IaaS means you can configure the underlying infrastructure (such as virtual machines) that a platform might run on. In other words, IaaS is less abstracted than PaaS and generally has more knobs to twiddle.</p><p>Under the hood, Heroku is actually built on top of AWS; Heroku’s value proposition is making AWS simpler.</p><p>Many businesses eventually reach a point where Heroku’s value proposition is not as enticing as it used to be. In the rest of this article, I will discuss why <a href="https://aws.amazon.com/types-of-cloud-computing/">Software as a Service (SaaS)</a> businesses may want to migrate away from Heroku and on to AWS.</p><figure><img alt="Heroku" src="https://cdn-images-1.medium.com/max/720/1*1tmGjtLsKhmFuHoW3yJrRQ.png" /></figure><h3>Compliance, security, and associated costs</h3><p>On Heroku, if your business needs to comply with PCI DSS, HIPAA, ISO 27001, or SOC, <a href="https://www.heroku.com/enterprise">Heroku Enterprise</a> is required. Enterprise pricing is opaque but the information I could gather suggests it’s at least four figures per month (see <a href="https://www.saasworthy.com/product/salesforce-heroku/pricing">here</a> and <a href="https://news.ycombinator.com/item?id=9073793">here</a>) <em>before</em> you have built anything.</p><p>SaaS applications hosted on AWS can achieve compliance to PCI DSS, HIPAA, ISO 27001, SOC, and <a href="https://aws.amazon.com/compliance/programs/">many more standards</a>. The <a href="https://aws.amazon.com/compliance/shared-responsibility-model/">Shared Responsibility Model</a> means that there may be some work required to achieve compliance depending on the services used. Expensive enterprise plans are not required to achieve compliance on AWS. AWS also offers the <a href="https://aws.amazon.com/artifact/getting-started/">Artifact service</a> to easily retrieve Compliance Reports and has options to <a href="https://aws.amazon.com/blogs/mt/automate-cloud-foundational-services-for-compliance-in-aws/">automate compliance at scale</a>.</p><p>On the other hand, not all <a href="https://www.heroku.com/compliance">Heroku products are PCI DSS and HIPAA compliant</a>. To achieve PCI DSS and HIPAA compliance, the more expensive “shield” set of products are required. The smallest shield Postgres database on Heroku (Shield 0) <a href="https://elements.heroku.com/addons/heroku-postgresql">costs $350 per month</a>. In comparison, an equivalent database on AWS might only cost $100 per month (see <a href="https://instances.vantage.sh/rds/?min_memory=4&amp;cost_duration=monthly">here</a> for instance pricing and <a href="https://aws.amazon.com/ebs/pricing/">here</a> for block storage pricing). Committing to Reserved Instances can <a href="https://aws.amazon.com/rds/reserved-instances/">knock up to 69% off of that $100</a>.</p><p>Heroku may not offer a PCI DSS and HIPAA compliant version of the service you need. For example, more complex SaaS might require Kafka for event streaming or Redis as a fast in-memory caching layer; migration from Heroku or complex (and costly) multi-cloud integrations would be required to meet this requirement. AWS has a vast array of services to meet the requirements of complex SaaS applications — however, some work may be required to achieve compliance.</p><p>A private network on Heroku costs <a href="https://elements.heroku.com/addons/heroku-private-spaces">$1200 or $3600 /month</a>; the $1200 option is the minimum requirement for ISO 27001 and SOC, whereas the $3600 option is required for PCI DSS and HIPAA.</p><p>On AWS, a private network (VPC) is free; there are <a href="https://aws.amazon.com/vpc/pricing/">some charges</a> that largely correlate with network traffic though. The cost of Heroku networks also represents a substantial barrier to developer experience and cycle time, as it is a large disincentive to provide development networks.</p><p>If your SaaS business is not yet compliant with a security standard, our CEO, Jon Topper, has some <a href="https://aws.amazon.com/blogs/startups/the-impact-of-compliance-on-the-saas-sales-cycle/">interesting insight on how achieving it can help reduce SaaS sales cycles</a>.</p><p>Heroku has also recently had a <a href="https://blog.heroku.com/april-2022-incident-review">high-profile security incident</a> where “the actor accessed and exfiltrated data from the database storing usernames and uniquely hashed and salted passwords for customer accounts”. This may make it more difficult to convince risk averse tenants that Heroku is an appropriate platform choice. AWS has a better track record with security; however, AWS security is more complex and getting expert advice is prudent.</p><h3>Configurability, observability, and flexibility</h3><p>As a PaaS offering, Heroku abstracts complexity at the cost of configurability and flexibility. SaaS businesses often find the abstraction useful at first as they can avoid employing infrastructure personnel and keep development focussed on value streams.</p><p>Businesses using Heroku can hit a point in their lifespan where there is a business case for more configurability. The IaaS offerings on AWS could provide this increased configurability.</p><p>For example, Heroku only has simple options for configuring autoscaling (scaling for more demand) based on response time. Response time may not be the limiting factor of your application, necessitating overprovisioning for additional costs. With AWS, there are various methods of configuring autoscaling, including using custom curves and custom metrics. Without aggressive scaling policies, SaaS applications may not be able to meet sudden increases in demand without service degradation.</p><p>Databases use sensible generics by default but can be customised to maximise performance for specific use cases. Heroku users lack the ability to fine-tune databases for optimal performance. AWS allows databases to be fine-tuned. Even the most expensive databases on Heroku only allow 500 connections. Databases on AWS <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.MaxConnections">can handle many more connections</a>. By default, <a href="https://devcenter.heroku.com/articles/connecting-to-heroku-postgres-databases-from-outside-of-heroku">databases on Heroku are Internet-facing</a>; Internet-facing databases containing sensitive data are a large risk. Private databases on Heroku <a href="https://elements.heroku.com/addons/heroku-postgresql">come at a large premium</a>. Public and private databases on AWS have the same pricing.</p><p>AWS also has much more powerful compute instances available, if you need them. For example, compute instances (“Dynos”) on Heroku can only have up to 14 GiB RAM. On AWS, compute instances can have up to 24TiB of RAM.</p><p>Compute instances below “Performance-M” on Heroku use <a href="https://devcenter.heroku.com/articles/dyno-types">shared virtual machines</a>; this is a nonstarter for security and compliance as a malicious actor could use a compromised application on the virtual machine to attack your application. <a href="https://blog.back4app.com/heroku-pricing/">A “Performance-M” compute instance costs $250 / month</a>. All instances on AWS use separate virtual machines; even the <a href="https://instances.vantage.sh/?cost_duration=monthly">cheapest $3 / month machines</a>.</p><p><a href="https://blog.heroku.com/next-chapter">Heroku free tier is ending on the 28th November 2022</a>. While most serious SaaS businesses aren’t running their infrastructure on free tier — it does add cost to the development process. Developers can no longer spin-up free personal environments to test code. AWS has <a href="https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&amp;all-free-tier.sort-order=asc&amp;awsf.Free%20Tier%20Types=*all&amp;awsf.Free%20Tier%20Categories=*all">a free tier offering</a> and there is no sign that is going to change.</p><p>The limited <a href="https://cloud.google.com/architecture/devops/devops-measurement-monitoring-and-observability">observability</a> inside Heroku’s infrastructure may make it more difficult for development teams to troubleshoot service issues. The root cause of the service issue could very well be in parts of the stack managed by Heroku, leaving you to contact their support team, and hope for the best. IaaS on AWS provides more observability options, so your development team can troubleshoot more of the stack themselves.</p><p>There may come a time when tenants require their own isolated environments. On AWS, isolated compliant environments are already catered for via services such as AWS Organizations and Control Tower. Furthermore, the burden of maintenance can be reduced by automation tools. Achieving a similar level of isolation on Heroku would require multiple accounts; there are also no governance or orchestration mechanisms for managing multiple accounts.</p><p>Heroku only offers regions in Dublin, Frankfurt, Oregon, Sydney, Tokyo, and Virginia. At the time of writing, there are <a href="https://aws.amazon.com/about-aws/global-infrastructure/regions_az/">30 AWS regions</a> spread across the world. Applications located in data centres close to your customers will have lower latency, improving the customer experience. Some countries may also mandate that citizen data is held within the country.</p><h3>Why AWS?</h3><p>AWS is the global market leader in public cloud and has <a href="https://www.statista.com/statistics/967365/worldwide-cloud-infrastructure-services-market-share-vendor/">approximately 33% of the market share</a>. Consequently, there’s continuous heavy investment going into AWS to provide more value to AWS customers. There’s also a plentiful supply of people and companies to hire to manage or improve AWS infrastructure.</p><p>AWS is <a href="https://cast.ai/blog/cloud-pricing-comparison-aws-vs-azure-vs-google-cloud-platform/">competitive in pricing</a> with other major cloud providers. Smaller/cheaper alternative cloud providers do not offer close to the same feature set and are missing essential features for serious SaaS businesses, such as easy disk encryption.</p><p>There’s over 200 distinct services on AWS. AWS may have a cheap or easy solution to problems that you don’t know you have yet.</p><p>Heroku is using AWS under the hood. By using Heroku you’re being charged a premium on top of what AWS is charging. When a SaaS business is small and the abstraction provided by Heroku has few disadvantages, this makes sense. When a business has scaled to the extent that they can or need to employ dedicated infrastructure personnel, migrating to AWS may be cheaper and provide a competitive advantage.</p><p>With Heroku’s <a href="https://devcenter.heroku.com/articles/private-space-peering">Private Space Peering</a> you can migrate part of your workloads to AWS and keep part in Heroku, allowing for a gradual phased migration; another strong case for AWS over other public cloud providers.</p><p>AWS has numerous programs available to help support and fund a migration. At The Scale Factory, we have experts in AWS migrations that can help you understand the costs and funding that is available.</p><p><em>Want to migrate from Heroku to AWS? Our team has experience in delivering timely and successful </em><a href="https://scalefactory.com/solutions/cloud-migration/"><em>migrations</em></a><em>. Talk to us for a free initial chat.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ebadffeecce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scale-factory/why-should-you-migrate-your-saas-from-heroku-to-aws-8ebadffeecce">Why should you migrate your SaaS from Heroku to AWS?</a> was originally published in <a href="https://medium.com/scale-factory">Scale Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A survey of CI/CD tools]]></title>
            <link>https://medium.com/scale-factory/a-survey-of-ci-cd-tools-b8fb4cd6ea?source=rss----b6ef5be856b4---4</link>
            <guid isPermaLink="false">https://medium.com/p/b8fb4cd6ea</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[cicd-tools]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Agata Skorupka, PhD]]></dc:creator>
            <pubDate>Thu, 24 Nov 2022 12:32:23 GMT</pubDate>
            <atom:updated>2022-11-24T12:32:22.920Z</atom:updated>
            <content:encoded><![CDATA[<p>At the beginning of my IT adventure, my manager asked me to produce a specific visual output from the application I was developing. The application served as a dashboard for plotting different spatial variables on the map, and I was asked to plot one of them. As I knew that the feature was already implemented and tested, I assumed it would be simple. In fact, I couldn’t have been more wrong.</p><figure><img alt="The physical pipeline as a metaphor for CI/CD pipeline." src="https://cdn-images-1.medium.com/max/939/0*UmROTjWW6JBm5iyy.png" /><figcaption>Sometimes all you need is a robust pipeline. <a href="https://unsplash.com/@theblowup">Photo by the blowup</a></figcaption></figure><p>The feature was apparently not working, and, to make things worse, I didn’t know why, as I couldn’t spot any errors during debugging. The map was simply empty. It was very suspicious, since I clearly remembered hours spent on testing this particular solution. I got a little bit stressed, as the time to deliver the screenshots was limited, and I had no idea what caused this situation.</p><p>During the process of thorough verification, it turned out that the spatial files to plot were not in their old location on the file system we used. My colleague moved them and didn’t update the path in the code. I got even more stressed, and as it was only the beginning of my professional journey, when — as I reluctantly admit — I thought the working code is the ultimate goal, I pointed it out to my colleague in a way which turned out to be too direct for him. Obviously, moving all the files required to make the app working without any notification was not very desirable, but our discussion quickly changed to very unproductive blaming. My manager spotted it and gave us 15 minutes to come up with an efficient solution, instead of wasting time on our unfruitful discussions.</p><p>There could be only one solution to this problem, although it was not easy to come up with. We worked in a team of economists, were both self-taught, and were both also still very much learning. Nevertheless, at that time I have already started pursing my interest in IT, and I was very happy to propose my idea.</p><p>Naturally, we needed a set of rules of conduct, including all the features properly tested, and all the changes applied in a very careful way, including proper communication. Obviously, what we needed was a CI/CD process.</p><h3>What is CI/CD?</h3><p>CI/CD stands for Continuous Integration and Continuous Delivery or Continuous Deployment. It is a set of rules and tools following the principle that “ <em>what can (reasonably) be automated, should be automated</em> “. These rules and tools ensure that your version control system is the single source of truth and automate the testing, integration, and deployment of an application in one or multiple environments. That means that your team doesn’t need to spend hours deploying or testing a new feature only to find out that introducing other changes will break it (as I did in the above mentioned example).</p><p>The process not only saves your developers time, as they can actually focus on code development, and your company’s money, but — what is even more important — eases the process of communication between developers and minimises the risk of potential conflicts in the team, while enhancing team spirit and the sense of working towards a common goal. When the team has written and agreed to an automated test, you get buy in. Having a bot tell a colleague that they made a mistake just doesn’t feel as awkward as pointing out the exact same thing directly in a code review.</p><p>What is the difference between CI and CD? Continuous Integration eases the process of maintaining the codebase in the version control system by the principle of committing as frequently as possible — at least daily, which reduces the merging overhead and minimises divergence from the main (or trunk) branch (avoiding merge hell, so to speak). Furthermore, CI is about automating the build process, as well as testing procedures, instead of performing these manually, yielding in minimising probability of failure (and, in turn, time reduction in the case of failure firefighting, as previous versions are easy to rollback). Build and test happen whenever a commit is made to the main branch (hence, the continuous integration).</p><p>Continuous Delivery, in turn, is the natural extension of Continuous Integration and supports the deployment process in an automated manner. That being said, there is no longer need to perform the deployment manually by developers, which means significant time savings leading in turn to more time to work on the code.</p><p>A typical CI/CD process involves multiple stages: code commit or merge, build, test, and deploy. You can build the CI/CD pipeline on your own, but it is worth bearing in mind that there already exist a variety of ready-to-use, proven tools in the market.</p><h3>A survey</h3><figure><img alt="Jenkins logo" src="https://cdn-images-1.medium.com/max/94/0*OrCdbeegZQrO1zdy.png" /></figure><h3>1. Jenkins</h3><p><a href="https://www.jenkins.io/">Jenkins</a> is an open source automation server written in Java supporting building, testing, and deployments of applications. It runs as a standalone application, without cloud-based infrastructure, which means you need to deploy and maintain it using your own infrastructure. Jenkins’ controller-agent architecture enables distributed builds (you can also run an active-passive controller set up if you use the paid version of Jenkins from CloudBees).</p><p>You configure Jenkins either via its web GUI (or by invoking the API commands that back that web GUI). More commonly, you define a Jenkins pipeline by writing code in a dialect of Groovy, known as a Jenkinsfile. That can be a benefit if the team are already familiar with Java or Groovy (Groovy is derived from Java), but is otherwise a drawback.</p><p>Most other CI/CD solutions have settled on semi-declarative configuration using YAML. By contrast, Jenkins has very specific requirements for technical knowledge, and so Jenkins skills are therefore not very easily transferable. Jenkins does support a variety of plugins, which make customisation possible. For example, there are plugins to manage a pool of EC2 spot instances so that you only pay for build agents that are actually in use. The more plugins you add, the more overhead for Jenkins (meaning slower builds), and the bigger the risk that something breaks. You need to take care of plugin compatibility each time you upgrade Jenkins. Obviously, the main disadvantage of Jenkins is no cloud infrastructure underneath. This, combined with lack of YAML support and very specific language used for Jenkinsfile (pipeline declarations) position Jenkins as a little bit outdated. Nevertheless, with Jenkins one can configure the whole pipeline manually without writing code, which makes Jenkins a good start - it is an easily accessible software, even for people without DevOps background.</p><figure><img alt="Circle CI and Travis CI logos" src="https://cdn-images-1.medium.com/max/548/1*TMZG3DQw4xYjNII0pwoxQw.jpeg" /></figure><h3>2. Travis CI and CircleCI</h3><p><a href="https://www.travis-ci.com/">Travis CI</a> and <a href="https://circleci.com/">CircleCI</a> are both cloud-based environments which allow for easily customisable test, build and deploy procedures. They have an intuitive GUI, which makes debugging and version management very simple. The pipelines can be constructed in the YAML language — you just need to add .travis.yml or config.yml file to your repository. YAML is a popular and human-friendly data serialisation language with an advantage of being very concise and easily both writable and readable. On top of it, most CI/CD tools use YAML as well (therefore these skills are easily transferable). You can easily choose the environment and software on which your pipeline will be run. Both tools support parallel testing, which means you can spread tests across different executors and make your pipeline time-efficient. You can run Travis CI and CircleCI with GitHub, GitLab or Bitbucket repositories, which shouldn&#39;t be a limitation, as these tools cover the most popular version control systems (you can also configure your own integration with CircleCI by CircleCI Orbs). Nevertheless, you need to bear in mind that the free tier for private repositories is limited. CircleCI uses cache and workflow features to reduce time of execution and more efficient usage of resources, which is especially important when performing expensive operations. On the other hand, Travis CI supports build matrix allowing for running tests on different versions of software and packages, allowing your solution to be bulletproof. It may be of significant importance when not using Docker.</p><figure><img alt="Logos of: GitHub Actions, GitLab CI/CD, Bitbucket Pipelines, Azure Pipelines and AWS CodePipeline" src="https://cdn-images-1.medium.com/max/693/1*d4AVn_qduTvpP8VrNsVQOw.png" /></figure><h3>3. Tools integrated with version control hosting services</h3><p>There are a number of CI/CD tools integrated into version control hosting services. These are <a href="https://github.com/features/actions">GitHub Actions</a>, <a href="https://docs.gitlab.com/ee/ci/">GitLab CI/CD</a>, <a href="https://bitbucket.org/product/features/pipelines">Bitbucket Pipelines</a>, <a href="https://azure.microsoft.com/en-us/products/devops/pipelines/">Azure Pipelines</a> and <a href="https://aws.amazon.com/codepipeline/">AWS CodePipeline</a>. Their advantage is undoubtedly simplicity: you have the same interface for both version control and CI/CD (which is always triggered by actions like commit or merge, so it is very useful to store everything in one place). CI/CD processes are usually easy to set up and follow on the user interface. On the other hand, hosting your CI/CD pipeline in the same place where your code is stored couples your tooling with your version control system, e.g. if you move from GitHub to GitLab you need to rewrite your CI/CD pipeline. Fortunately, YAML syntax makes it relatively easy. As these solutions are relatively new, they usually do not support as many configuration options as Travis CI or CircleCI, but should be completely sufficient at the beginning. All of the above mentioned solutions are paid, but include a generous free tier (scope of which differs among tools).</p><figure><img alt="Flux CD and Argo CD logos" src="https://cdn-images-1.medium.com/max/193/1*O5NtCmqWarhYYy1L0CWEvQ.png" /></figure><h3>4. Flux CD and Argo CD</h3><p>Both <a href="https://fluxcd.io/">Flux CD</a> and <a href="https://argoproj.github.io/cd/">Argo CD</a> follow the GitOps principle of using Git repositories as the ultimate source of truth and defining the desired application state with code. Using a version control system one can prepare a declarative definition of the CD process (watch out, these tools do not support CI!), as well as the needed infrastructure. Flux CD and Argo CD are designed specifically for Kubernetes and support generating Kubernetes manifest using Helm charts or through Kustomize. In Flux CD you can define a manifest to scan a specific image repository with container images to check whether there was a new release in an automated way, while Argo CD needs more manual intervention. It may be both an advantage or disadvantage — depending on what you value more: automation or having control. Although Flux CD has CLI-first approach, you can still install a third-party GUI, e.g. offered by Weaveworks. Argo CD has support for both CLI and GUI.</p><h3>What are you waiting for?</h3><p>CI/CD is a good software practice that you should use to make your software products more reliable and easy to rollback in case of failure. To go even further, it helps your team’s productivity and eases the collaboration between developer and operation teams. As in the real-life example described above, it can really help mitigate conflicts in your team. What is important to bear in mind according to the DevOps philosophy, is that failures in IT happen mostly because of processes inefficiency rather than people’s mistakes, so implementing a robust pipeline may be a key to success.</p><p>Even though one can try to build their customised CI/CD solution from scratch (e.g. using AWS Lambda), the market offers a variety of CI/CD tools with different configuration capabilities to choose from and to make the process as effortless as possible.</p><p>If you’re still not convinced, let’s imagine that as a SaaS business you want to push new features to your software product in order to grow fast and beat the competition. It’s natural that you need to make sure that new features won’t break existing ones. CI/CD tools can definitely help with testing and ensuring resiliency of your application, as well as easy rollbacks in case of potential failure. You can set up a testing pipeline and run it easily in the cloud (e.g. using Travis CI or CircleCI), without bothering with setting up your own infrastructure. If you want to have more time to test it internally before pushing to production, or maybe forward only a percentage of traffic to the test deployment, CI/CD tools may be helpful with deploying code to another environment.</p><p><em>People and teams adopt CI/CD for different reasons — such as fast flow, quality assurance, repeatability, or to cut the toil of manual deployments. Whatever your motivation, you can </em><a href="https://www.scalefactory.com/contact-us/"><em>get in touch</em></a><em> for a free initial discussion.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8fb4cd6ea" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scale-factory/a-survey-of-ci-cd-tools-b8fb4cd6ea">A survey of CI/CD tools</a> was originally published in <a href="https://medium.com/scale-factory">Scale Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Phased Migrations for Complex Systems]]></title>
            <link>https://medium.com/scale-factory/phased-migrations-for-complex-systems-ecee53dbc5c4?source=rss----b6ef5be856b4---4</link>
            <guid isPermaLink="false">https://medium.com/p/ecee53dbc5c4</guid>
            <category><![CDATA[migration]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[saas]]></category>
            <dc:creator><![CDATA[George Richardson]]></dc:creator>
            <pubDate>Fri, 18 Nov 2022 09:37:58 GMT</pubDate>
            <atom:updated>2022-11-18T09:37:58.135Z</atom:updated>
            <content:encoded><![CDATA[<p>Although it’s exciting, moving house sucks. The idea of taking all your worldly possessions, putting them into flimsy cardboard boxes, and then playing high-stakes Tetris in the back of a rented van is just a little ridiculous. The worst part is packing. When do you start packing? What do you pack first? What should you throw away? As someone who has rented in London I’ve unfortunately become quite familiar with the experience, and I’ve seen the techniques of friends and family too. Usually, success comes from good planning and compartmentalisation, trying to do everything all at once will result in shed tears and broken crockery. At The Scale Factory we also see this when rehoming systems into the cloud and have some advice on how to put together a plan that will save the family china.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1EbuenlDqc7nBuJI.png" /><figcaption>This pattern can be used to bring even the oldest service into the modern era. <a href="https://openai.com/dall-e-2/">AI generated image from DALL-E 2</a></figcaption></figure><h3>Don’t let the complexity of your SaaS product hold you back</h3><p>Even when things go well, moving house is not a fun experience. We do it because we need to, and it’s going to make our lives easier in the future. Few people have ever decided they don’t need that extra bedroom because it’s not worth the effort of packing up a few dozen boxes. And yet, at The Scale Factory, we see that kind of thinking when discussing cloud migrations all the time.</p><p>There are many benefits of rearchitecting your SaaS product to run in the cloud: from the more technical like increased flexibility and scalability for your application, to business benefits such as moving IT costs from upfront capital expenditure to operational expenditure. But business can be hesitant to take the plunge, why is that? Because rearchitecting and migrating complex systems is <em>hard</em>.</p><p>If you botch a house move, you might have a few broken plates to replace; on the other hand, a poorly executed cloud migration can become an existential threat to a SaaS business. Alongside tangible engineering and infrastructural costs associated with a failed or overdue migration, there are significant intangible employee morale and opportunity costs. How then do you unlock the benefits of the cloud while reducing the risk of migration as much as possible? A well planned phased migration is going to take you a long way.</p><h3>Phased migration makes it easier</h3><p>Although you’ll see that many of the planning decisions you make when moving home parallel those you need to make when planning a migration to the cloud, there is one big difference. You don’t need to plan to execute it all in a single day. When looking at a complex SaaS system, which probably consists of a tangle of interrelated components and services, don’t fall into the trap of thinking it needs to be moved all at once. One of the major benefits of public clouds and their on-demand billing models is that you can dip a toe in, try things out, and gradually scale usage up as required. You can utilize this by planning your migration in phases, re-architecting and migrating your systems one at a time or in small batches. By keeping these batch sizes small you also keep spending and risks at manageable levels.</p><p>Aside from a nicer looking cash position and balance sheet, you’ll also realise secondary operational benefits from working on smaller projects. As teams iterate through smaller self-contained migrations, they will build experience they can apply to subsequent iterations. Missteps can be accounted for in the planning of the next phase, without causing a major disruption to the business as a whole.</p><p>The key question that remains is: which component to migrate first?</p><h3>Manage risks by starting small</h3><p>While you may have chosen to move house to get a bigger kitchen, that doesn’t mean you pack up your kitchen utensils first, you’re still going to eat breakfast on moving day. Instead, it’s usually a good idea to pack up the rarely used bric-à-brac first and minimise disruption to your daily life. The same can be true for cloud migrations. Perhaps the key outcome of a migration is to increase the scalability of an important workload, but that doesn’t necessarily mean it should be where you start. As stated earlier, one of the benefits of a phased migration plan is that you can build experience in your team over multiple phases. By starting with a relatively small or unimportant component, a team is given a safer space to experiment and make mistakes, improving the outcomes for future, more mission-critical, system migrations.</p><p>Acknowledging that migrating systems is hard can influence your choices for your early phases in another way: how easy is it to revert if something goes wrong? Stateless services with small API surfaces are good candidates for easily reversible migrations. If you are running monolithic services, you can use the <a href="https://martinfowler.com/bliki/StranglerFigApplication.html">strangler fig pattern</a> to start isolating components that meets those requirements and which can be migrated independently. Early phases of your phased migration should be focused on low risk changes to make later phases run smoother.</p><p>Not everything has to make the move. “Does this spark joy?” is a common refrain for the followers of professional organiser Marie Kondo. When assessing whether a component should be included in their phased migration plan, businesses should be asking themselves “does this provide value?”. Cloud migrations are an excellent opportunity to identify components that can be <a href="https://scalefactory.com/blog/2022/09/30/seven-strategies-for-migration-to-aws/">replaced or retired</a> altogether.</p><h3>Migrating to the cloud doesn’t have to be hard</h3><p>Complex systems have a huge cognitive burden that give them an inertia to change that sometimes feels insurmountable. But as with most problems, the complexity can fall away when broken up into smaller, more manageable chunks. Just as it would be counterproductive to pack all your possessions into a single huge cardboard box labelled “house” when moving home, it’s a good idea to go “room by room” and migrate your service to the cloud in nicely labelled and self-contained packages. You’ll certainly end up with fewer smashed heirlooms.</p><p><em>Got an existing system or service that’s looking for a new home in the cloud? Our AWS-focused team can help you find a way to manage the risks around </em><a href="https://scalefactory.com/solutions/cloud-migration/"><em>migration</em></a><em>. </em><a href="https://scalefactory.com/contact-us/"><em>Talk to us</em></a><em> for a free chat about the challenges and how we might solve them.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecee53dbc5c4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scale-factory/phased-migrations-for-complex-systems-ecee53dbc5c4">Phased Migrations for Complex Systems</a> was originally published in <a href="https://medium.com/scale-factory">Scale Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Terraform 1.3: path to stability]]></title>
            <link>https://medium.com/scale-factory/terraform-1-3-path-to-stability-287309abe6b3?source=rss----b6ef5be856b4---4</link>
            <guid isPermaLink="false">https://medium.com/p/287309abe6b3</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[terraform-modules]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Marko Bevc]]></dc:creator>
            <pubDate>Thu, 10 Nov 2022 10:02:24 GMT</pubDate>
            <atom:updated>2022-11-10T10:01:05.305Z</atom:updated>
            <content:encoded><![CDATA[<p>You might have missed the latest release of HashiCorp’s Terraform 1.3 in the midst of autumn conference season and being released just ahead of HashiConf Global. But the latest release also didn’t come with a big flash as it’s introducing more stable improvements. Nevertheless, I think there are two features that got me excited about and got my attention. Let’s see what those are and why you should care!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fJx1FTY5u-stjbD6.png" /></figure><h3>Code maintenance is hard</h3><p>So if you consolidate your reusable blocks of Terraform code in modules (which you should be doing, really), up until now you would face two major constraints. The first one is related to Terraform type constraints:when using object type to handle complex data structures, you wouldn’t be able to define optional attributes. The second constraint is related to the moved block <a href="https://www.scalefactory.com/blog/2021/12/22/terraform-v1.1-the-journey-continues/">introduced in Terraform 1.1</a> to assist with code refactoring. It&#39;s a very useful feature, but it&#39;s limited to only changes within the same module package. So you could move resources into child modules that reside in the same directory structure as the root module, but you couldn&#39;t move resources to a module in an external location. So how would this manifest in the Terraform code?</p><h3>What does this mean for my code?</h3><p>Let’s break those two features down, look at a few code examples, dive into how they would affect the existing codebase and perhaps introduce some improvements or simplifications.</p><h3>Optional attributes</h3><p>When defining Terraform variables you can use the type argument to define <a href="https://www.terraform.io/language/values/variables#type-constraints">type constraints</a>. In simple use cases this can be string, number or bool. But when you want to use more complex data structures where you may need to group multiple values into a single variable you could use the object type, which is a collection of named attributes, each having their own type. Up until now you would either need to define all argument types and specify them or you could fall back to using the special type any which is a placeholder and would allow any type to be passed down. In this case Terraform would try to make an assumption and guess what that is.</p><p>But if you want to use this variable, for example passing it down to your (community) module, you’d need to provide all values, otherwise you’d end up with an error message similar to this, notifying you about a failed object check:</p><pre>Error: Missing required argument<br><br>  on main.tf line 461, in module &quot;object_storage&quot;:<br> 461: module &quot;object_storage&quot; {<br><br>The argument &quot;account_email&quot; is required, but no definition was found.</pre><p>So this meant if you wanted to support optional arguments you’d need to include a lot of horrible conditionals or ternary operators in order to allow this behaviour.</p><p>Based on this the community proposed a feature that would allow marking an object’s named attributes as optional. This feature was added to Terraform 0.14 under experimental support and eventually became one of the most upvoted <a href="https://github.com/hashicorp/terraform/issues/19898">community GitHub issues</a>!</p><p>Following that massive traction and community support Terraform 1.3 graduated the optional object type attribute feature from experimental status and added the ability to set a default value. The benefit of this feature is to provide module authors a way to extend their modules to handle more complex use cases using the object type. This also avoids forcing module consumers to provide values for attributes that are not relevant to their work.</p><p>When declaring an input variable whose type constraint includes an object type, you can now declare individual attributes as optional, and specify a default value to use if the caller doesn’t set it. For example:</p><pre>variable &quot;volumes&quot; {<br>  type = list(object({<br>    name    = string # name will be null if not specified<br>    enabled = optional(bool, true) # default to true<br>    vendor  = optional(string)<br>    params  = optional(object({<br>      type     = optional(string, &quot;ssd&quot;)<br>      capacity = optional(number, 100)<br>      iops     = optional(number)<br>    }), {})<br>  }))<br>}</pre><p>Assigning [{ name = &quot;foo&quot; }] to this variable will result in the value [{ name = &quot;foo&quot;, enabled = true, vendor = null, params = {} }]. If you assign[{name = &quot;foo&quot;}, { params = { type = &quot;ssd&quot; }}] then that becomes a two-item list: [{ name = &quot;foo&quot;, enabled = true, vendor = null, params = {} }, { name = null, enabled = true, vendor = null, params = { type = &quot;ssd&quot; } }]. Some other code within the module could then generate a name automatically for the second item in the list, giving you automatic naming and the change to set an explicit override.</p><h3>Move to external resources</h3><p>The <a href="https://www.scalefactory.com/blog/2021/12/22/terraform-v1.1-the-journey-continues/">moved block</a> was introduced in version 1.1 to provide a programmatic method for refactoring resources within a config file. This update removed the dependency on using terraform state mv, which was manual, error-prone, and would often lose the context of refactor operations to the command line history. Leveraging a moved block within the source code causes Terraform to instead treat the existing object at the old address as if it now belongs at the new address. There was one limitation with the initial release of the moved block: they only supported refactoring moves if they were between modules within the same local path.</p><p>This release removes that limitation by adding the ability to refactor resources into third-party and separately sourced blocks. This includes modules sourced from the <a href="https://registry.terraform.io/">Terraform Registry</a>, a private registry hosted within <a href="https://cloud.hashicorp.com/products/terraform">Terraform Cloud</a>, or any of the options available through the source argument.</p><p>Here is an example of using the moved block to refactor a resource into a module sourced from Terraform Cloud&#39;s private registry:</p><p>After the move is complete, you can remove the moved block. If you want to, you can also widen the pin for the module version; for this example, you could switch to &quot;~&gt; 1.0&quot;.</p><h3>Simpler is usually better — KISS rule</h3><p>This is great for community modules, where module APIs are contracts, and also for internal consumed modules, where inputs define important interfaces between teams and organisation units. Keeping your code simple doesn’t only make it easier to read, but also contributes to shorter on-boarding times, lowers maintenance burden to your platform teams and lowers your total cost of ownership (TCO) of your solution. If you work in a SaaS space, this could have an important impact on your funding burndown or tenant pricing!</p><h3>Next steps</h3><p>If you are interested in the other changes that came with the 1.3 release (including security hardening, backend deprecation, new functions startswith / endswith, output changes and others), have a look at the <a href="https://github.com/hashicorp/terraform/blob/v1.3/CHANGELOG.md#130-september-21-2022">changelog</a>, <a href="https://www.terraform.io/language/v1.3.x/upgrade-guides">Terraform 1.3 upgrade guide</a> and <a href="https://www.terraform.io/language/expressions/type-constraints#optional-object-type-attributes">optional object type attributes</a> documentation. Also if you are using a SaaS platform to run your Terraform, such as HashiCorp&#39;s Terraform Cloud, you might want to consider a major version bump to require Terraform 1.3, ahead of mentioned features, as well as Terraform Cloud support for Health Checks ( <a href="https://developer.hashicorp.com/terraform/cloud-docs/workspaces/health?_gl=1*1j11n69*_ga*Mzg5NzE2NjUyLjE1MTMwMjM2MjI.*_ga_P7S46ZYEKW*MTY2NzMyOTM2Ni45NC4xLjE2NjczMjk1MjMuMC4wLjA.#drift-detection">Drift detection</a> and <a href="https://developer.hashicorp.com/terraform/cloud-docs/workspaces/health?_gl=1*ddp86r*_ga*Mzg5NzE2NjUyLjE1MTMwMjM2MjI.*_ga_P7S46ZYEKW*MTY2NzMyOTM2Ni45NC4xLjE2NjczMjk0NTkuMC4wLjA.#continuous-validation">Continuous validation</a>).</p><p>Whether you’re writing Terraform code for the wider community, for your colleagues, or just for your own team, Terraform 1.3 offers a good way to make API contracts that you can stick to.</p><p><em>As your SaaS business grows, the way you structure and manage your infrastructure code can change. If you’d like advice on how to refactor that avoids downtime and reduces friction, our experienced and certified team at The Scale Factory can help — </em><a href="https://www.scalefactory.com/contact-us/"><em>talk to us</em></a><em>! We also offer training on Terraform as part of our </em><a href="https://www.scalefactory.com/services/support-learning?utm_source=scalefactory.com&amp;utm_medium=social&amp;utm_campaign=tf13x"><em>support and learning subscription</em></a><em>, along with much more hands-on training run through the Scale Factory Academy.</em> <em>This blog is written exclusively by The Scale Factory team. We do not accept external contributions.</em></p><p><em>Originally published at </em><a href="https://www.scalefactory.com/blog/2022/11/10/terraform-1.3-path-to-stability/"><em>https://www.scalefactory.com</em></a><em> on November 10, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=287309abe6b3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scale-factory/terraform-1-3-path-to-stability-287309abe6b3">Terraform 1.3: path to stability</a> was originally published in <a href="https://medium.com/scale-factory">Scale Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Turbocharging your technology strategy with ECS and Fargate]]></title>
            <link>https://medium.com/scale-factory/turbocharging-your-technology-strategy-with-ecs-and-fargate-c87a4b6895ac?source=rss----b6ef5be856b4---4</link>
            <guid isPermaLink="false">https://medium.com/p/c87a4b6895ac</guid>
            <category><![CDATA[elastic-container-service]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[technology-strategy]]></category>
            <category><![CDATA[fargate]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[James Lochhead]]></dc:creator>
            <pubDate>Tue, 25 Oct 2022 10:28:59 GMT</pubDate>
            <atom:updated>2022-10-25T10:31:00.960Z</atom:updated>
            <content:encoded><![CDATA[<p>Do you want to migrate to AWS and harness the power of the cloud in your business? Well, ECS with the Fargate launch type (I’ll shorten this to “ECS+Fargate”) is one of the foremost compute technologies you should consider when migrating.</p><p>ECS+Fargate can help your business reduce costs, go-to-market more quickly, and maintain high service uptime. Compared to alternative solutions, ECS+Fargate finds a great balance between complexity, configurability, and vendor lock-in that works out as a great fit for many SaaS businesses. In this article, I will explain ECS+Fargate, elaborate on the benefits to using it, and compare it against alternatives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8MYF6kKOyiRqPdAw.png" /></figure><h3>What is a container?</h3><p>To understand Elastic Container Service (ECS) and Fargate let’s take one step back and first understand containers.</p><p>A container is a lightly isolated grouping of one or more applications and their dependencies. Containers are intended to enable applications to run consistency and reliability on different machines.</p><p>Containers in their current form were originally created as part of the <a href="https://www.docker.com/">Docker</a> application. Since 2015, container technologies have been defined in open standards such as the Open Container Initiative (OCI) container image format. These standards are managed by the <a href="https://www.linuxfoundation.org/">Linux Foundation</a>, or the <a href="https://www.cncf.io/">Cloud Native Computing Foundation</a> (part of the Linux Foundation).</p><h3>Why adopt containers?</h3><p>Before containers, applications would often be installed directly on a server with no isolation, using traditional methods such as package managers. If you wanted a boundary between two components, you needed to pay the costs of running a whole server, or whole virtual machine, twice. Applications installed via traditional means can suffer from problems with reproducibility — the application might display different behaviour on different machines. A common example might be between a developer laptop and a production server, or even between production servers running slightly different operating system versions. Diverging behaviour is not ideal as it can lead to bugs that cannot be tested for in pre-production environments and also elongates the development process.</p><p>Container technologies let you build an artefact — a <em>container image</em> — that will function identically on a developer’ workstation, on an AWS service, or even in a different cloud if you ever needed to migrate.</p><p>Container image builds can be quick — usually only a few seconds — and the build process is specifically designed to cache previous steps. This all adds up to faster feedback to developers, which means the capacity to deliver more valid more often.</p><p>As containers are an industry standard, there is a wide ecosystem of tools that can integrate with them. For example, there are tools that can scan containers for security vulnerabilities.</p><p>Some other benefits of containers include:</p><ul><li><strong>Fewer production bugs</strong>: the consistency of containers means you can run, and test, the exact same artefact in all environments.</li><li><strong>Increased developer productivity through faster feedback</strong>: dramatically lower the chances of changes being introduced that work on the local machine but fail in testing.</li><li><strong>Faster scaling</strong>: traditionally each instance of an application might be run on a separate virtual machine — usually taking some minutes to start. ECS tasks can start in seconds.</li></ul><h3>What is ECS+Fargate?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eJ7D5iWIcc9Q7BgB.png" /><figcaption>ECS architecture © Amazon Web Services, Inc.</figcaption></figure><p>A container is a single instance of your application. What if we want more than one instance of the application? What if we want to use more than one machine to achieve high availability? How do we deploy the container on the machines? How do we expose containers to networks?</p><p>Container orchestrators were created to solve these problems and ECS is one such container orchestrator.</p><p>ECS can work with either EC2 — AWS’s virtual machine service — or <a href="https://aws.amazon.com/fargate/">Fargate</a> launch type. Fargate enables you to run containers without worrying about the underlying virtual machines and bare metal — AWS manages that for you.</p><p>ECS+Fargate can deploy one or more container instances to a network, expose it to a load balancer (which in turn might expose it to the Internet or other networks), and scale the number of instances up and down to match load. You can integrate ECS with CI/CD pipelines for quick low risk deployments and rollback. You can work with external systems such as GitHub Actions and GitHub Deployments, or you can stay within AWS and use CodePipeline with CodeDeploy.</p><h3>Why use ECS+Fargate?</h3><h4>Cost savings</h4><p>As an elastic service, ECS can scale automatically against a metric of your choosing from one container to many. A single container could be running in the dead of night and scale to 1000s to meet peak-time demand. On paper, Fargate might seem to be slightly more expensive than EC2. However, in EC2 you will likely have to slightly overprovision nodes to enable seamless service scaling and managing virtual machines (VMs) is labour intensive. On Fargate, you only get charged for the containers you use and do not manage the underlying VM.</p><p>Compared to on-premise infrastructure, there is relatively little that requires management by an operations team. Operations teams can be leaner and more focussed on work that is closer to value centres.</p><h4>Security</h4><p>Earlier, I mentioned that containers are lightly isolated. ECS groups containers into tasks (usually just 1 container per task) and Fargate provides strong isolation between different tasks. It’s serverless and the isolation is all managed for you.</p><p>Managing virtual machines (or bare metal) can be expensive, time consuming, and can increase risk (especially if your business must comply with information security standards). Delegating these problems to your cloud provider enables your business to focus on value delivery.</p><h4>Ease of exit</h4><p>ECS+Fargate is a relatively simple method of running containers in the cloud, however, it’s also flexible enough to suit many SaaS providers on AWS. Alternative container orchestrators (such as Kubernetes) are great, however, they are typically much more complex. The total cost of ownership for ECS+Fargate alternatives can be much higher, sometimes for little/no increased business value.</p><p>Kubernetes is a great technology but we often find it is embraced too early on a company’s journey, incurring unnecessary additional costs. Luckily, it doesn’t have to be either ECS+Fargate or Kubernetes; once your application is containerized, it could be migrated to Kubernetes at a later date. Containerization is the main obstacle.</p><p>AWS Lambda is another top alternative to ECS+Fargate. Like Fargate, Lambda is serverless and very scalable. Lambda is a proprietary technology and can force an architecture that is very AWS-specific. Lambdas can also run containers with slight modification, however, functions currently must finish executing in 15 minutes or less. There is increased risk from vendor lock-in and it could be more expensive than ECS+Fargate for traffic patterns that don’t suit the AWS Lambda architecture.</p><h4>Shifting capital expenditures to operating expenses</h4><p>Before the advent of utility-scale cloud computing, businesses looking to create a computer-based product or service would have to invest a large amount of capital upfront in technology like servers and even data centres. The lead time on obtaining these technologies might also be months.</p><p>With ECS+Fargate, you only pay for what you use. Your infrastructure lead time is measured in seconds, and you can use up to 120GiB of RAM. It’s a limit, but it’s usually more than enough.</p><h4>Service uptime and deployments</h4><p>Most of the heavy lifting in creating effective monitoring and deployment for ECS+Fargate tasks has already been done by AWS; you just need to do high-level configuration of the tools they have already created.</p><p>You can configure deployments to rollback to an older working container automatically if the error rate increases; this empowers your team to innovate quickly, even shipping test code all the way into production, while keeping the impact of mistakes low.</p><p>Basic metrics for ECS+Fargate appear in AWS’s monitoring service CloudWatch automatically. Baseline CloudWatch is part of the AWS <a href="https://aws.amazon.com/cloudwatch/pricing/">free tier</a>, however, its free tier is limited and more advanced or granular features do incur cost. To tie monitoring more closely to business outcomes, you can add customer CloudWatch metrics. If there are problems, integration with CloudWatch Logs works out of the box. Your workload on ECS+Fargate can integrate with other AWS observability services such as X-Ray (for per-request tracing), or Amazon Managed Grafana.</p><p>You can automate away tedious manual (or semi-manual) deployments by integrating ECS+Fargate with CI/CD pipelines.</p><h4>Development experience</h4><p>Adopting containers often leads to happier developers. As containers can be built and start in seconds, developers can get very fast feedback about their changes. Reducing rework reduces stress on the team, and helps make delivery timelines more predictable.</p><h4>Integration with other AWS services</h4><p>After migrating to containers on ECS+Fargate, your workload can benefit from other cloud services to reduce costs, solve problems, and automate away repetitive tasks.</p><p>For example:</p><ul><li><a href="https://scalefactory.com/consulting/packages/backup-services/">AWS Backup</a> can be used to create a central, cost-efficient, and automated back-up strategy.</li><li>Security Hub can be used to ensure your company is meeting established security best practices such as the CIS Benchmarks.</li><li>Version 2 of Amazon Inspector can automatically scan your container images and virtual machine instances, notifying you of any high risk vulnerabilities.</li><li>You can automate or avoid many tasks associated with operating SQL databases, by using <a href="https://aws.amazon.com/rds/">Amazon RDS</a>.</li></ul><p>Businesses by and large experience many of the same technology-related problems. AWS enables SaaS providers to solve many of these problems at a level of cost and efficiency that would not be possible in-house.</p><h3>Need help?</h3><p>Migrating to AWS, and considering using containers in the cloud? Talk to our team for a <a href="https://scalefactory.com/solutions/migrate-to-aws/">free initial chat</a> about which approach will best fit your business.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c87a4b6895ac" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scale-factory/turbocharging-your-technology-strategy-with-ecs-and-fargate-c87a4b6895ac">Turbocharging your technology strategy with ECS and Fargate</a> was originally published in <a href="https://medium.com/scale-factory">Scale Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One Year at The Scale Factory]]></title>
            <link>https://medium.com/scale-factory/one-year-at-the-scale-factory-84a159946fb9?source=rss----b6ef5be856b4---4</link>
            <guid isPermaLink="false">https://medium.com/p/84a159946fb9</guid>
            <category><![CDATA[consulting]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[recruitment]]></category>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[George Richardson]]></dc:creator>
            <pubDate>Fri, 07 Oct 2022 09:29:29 GMT</pubDate>
            <atom:updated>2022-10-07T09:29:29.220Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s been one year since <a href="https://www.scalefactory.com/blog/2021/10/20/how-i-got-hired-by-the-scale-factory-and-why-you-should-too/">I joined The Scale Factory</a> and what a year it has been! I started writing the first draft of this post on a trip to meet up with colleagues in Portugal, which I certainly wouldn’t have envisioned when I clicked apply just over a year ago. What has really surprised me though is how much I would end up learning in just a single year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Gat3js7wsUpxwTG8.jpg" /><figcaption>Had I actually journaled this year, I may have needed multiple volumes. <a href="https://unsplash.com/@claybanks">Clay Banks</a></figcaption></figure><h3>The Scale Factory has made me soft</h3><p>In my first few weeks at The Scale Factory, I was very worried about this whole “consultancy” thing. In my previous roles, I was very much an engineer, with all the connotations that implies. As it happens, consultancy <em>is</em> a different role with a focus on a different set of softer skill, but that doesn’t mean I should have been worried, I just had a new set of things to learn.</p><p>My reservations about interacting with customers directly on the regular quickly fell away as I was able to witness my colleagues lead by example. The idea of allocating an entire day to running a design workshop with clients once sounded like a true nightmare. But after witnessing Marko lead a few, with professionalism and empathy, I found myself thinking “I could do that”. And soon I did. A similar watch-one-do-one situation happened with the training sessions we deliver to our customers. Just the thought of teaching a group of professionals triggered imposter syndrome in me. Again, that faded quickly after sitting in as support for a few sessions with some of our more seasoned consultants. I was able to become familiar with the process and what kind of questions students may ask, so when it came time for me to lead one of these sessions, I was comfortable enough to do a good job first time. Now that I do these kinds of activities regularly, it has surprised me to realise that these workshops and training sessions are now one of my favourite parts of my role.</p><p>Something I didn’t expect to be doing a lot of is writing. I had previously toyed with the idea of writing technical blog posts on my own time, but I was delighted to discover that The Scale Factory have a blog that employees are encouraged to write for. Potential hobbies quickly become regular habits if someone offers to pay you for it! But you can’t improve unless you can see where you are going wrong, and with writing that usually means getting someone else to read your draft and point out all the mistakes. My colleagues Tim and Sandro have both been an immense and patient help here, and as a result my understanding of the written word and hopefully the quality of my writing has improved greatly (but I’ll let you be the judge of that).</p><p>Opportunities for trying something new pop up regularly at The Scale Factory. Too regularly to list out here. What’s important is that no matter the opportunity, whether it be teaching a group of strangers or a first time podcast appearance, you’ll be able to find someone who has done it before and can help you turn that opportunity into a new skill.</p><h3>Technically speaking, it’s not all talk</h3><p>It’s not all been about soft skills though, I’ve had plenty of opportunity to develop my technical skills too.</p><p>In the short year that I have been working here, I’ve been on a handful of smaller projects and one larger, long-term, greenfield project. Consequently, I’ve had exposure to a lot of new (to me at least) technologies. The nature of the work is that no two projects will be the same, which is great, because you never get bored. One day you may be looking at a customer’s AWS estate at a macro level with tools like Control Tower and AWS Organizations, and then the next day you’re helping debug a performance issue with a Lambda. Working as a consultant is a process of constantly learning and utilising new technologies, which then opens up new pathways to solve problems you may see in the future. And let’s not forget it’s fun too.</p><p>As The Scale Factory is an AWS partner, we are expected to achieve some level of AWS certification. Although that may sound a bit daunting, I can assure you it is not. Firstly, you are surrounded by AWS experts who have gone through the same process already and are more than willing to answer any questions on exam prep. Secondly, the company offers ample support to give you the best chance of passing those exams. Each consultant gets 10 “development” days per year to spend on a day off from project work allowing time for self-improvement, like preparing for an exam.</p><p>We are free to expense any resources which may be useful in studying for a certification like online courses, books, and practice tests. Having the space to turn off Slack, knuckle down and hit the books makes the whole process less stressful. Over the past year, I have studied for and passed both the Security Specialist and Solutions Architect Professional exams. Not only do I get a nice badge to put on my website, but I got to experiment with lots of AWS services I wouldn’t usually interact with, expanding my idea of what is possible in the cloud.</p><p>Through both formal training for certification and on the job research for a project, I’ve learned more about technology this past year than any other time since finishing university (and I had to pay for that!).</p><h3>Working remotely, up close and personal</h3><p>After the events of 2020 forced many of us into working remotely, I swore I would never go back. However, after joining The Scale Factory I realised that while working remotely is good, it takes a certain kind of company to make it feel great. The whole company is set up for remote working as the default, and they’ve been doing it since before the pandemic. Despite the geographic distance between us, I feel no barriers when communicating with my colleagues. There are daily opportunities to socialise and keep in touch with everyone, both on an individual basis or around a virtual water-cooler. I don’t miss the office…</p><p>Except for when I do. As a human, I still want to chat with people in all three dimensions now and then. Every two weeks we have company-wide, but optional, coworking days where we all pile into a coworking space for some collaboration, and then pile into a pub for a libation. For me, this has been a surprising opportunity to travel, as the destinations move around to be closer to various members of the team. I’ve been able to acquaint myself with the cities of Porto, Cheltenham and Nottingham for the first time, as well as reintroduce myself to Bournemouth and Manchester while missing a few more. But I haven’t just got to know the geography, I have also had the chance to connect with many of my colleagues on a deeper level. Whether I’ve ended up eating chips on the beach or drinking wine cocktails at a rooftop bar after hours, these days have always been great fun.</p><h3>Try for yourself</h3><p>Overall, this past year has been a fantastic experience for me, one that I could never fully fit into a single blog post. I will admit, however, that this post does have an ulterior motive behind it: I am trying to convince you to join in the fun.</p><p>We are hiring for consultants in the UK and several EU countries. If you are interested in the cloud and want a job that will allow you to continually develop your skills, take a look at our <a href="https://www.scalefactory.com/about/careers/">careers</a> page and get in touch!</p><p>(Personally, I am hoping someone from Greece hears the call, so we can do a coworking in Santorini!)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84a159946fb9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scale-factory/one-year-at-the-scale-factory-84a159946fb9">One Year at The Scale Factory</a> was originally published in <a href="https://medium.com/scale-factory">Scale Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Seven Strategies for Migration to AWS]]></title>
            <link>https://medium.com/scale-factory/seven-strategies-for-migration-to-aws-99d688972556?source=rss----b6ef5be856b4---4</link>
            <guid isPermaLink="false">https://medium.com/p/99d688972556</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[migration]]></category>
            <dc:creator><![CDATA[Sandro Cirulli]]></dc:creator>
            <pubDate>Fri, 07 Oct 2022 09:27:51 GMT</pubDate>
            <atom:updated>2022-10-07T09:27:51.089Z</atom:updated>
            <content:encoded><![CDATA[<p>We regularly help SaaS businesses migrating their applications to the cloud. Whether it is a migration from on-premises, Heroku, or another cloud provider, we advise clients on the best way to move their workloads to AWS.</p><p>Our clients want to migrate to the cloud for all sorts of reasons: the current platform is a limiting factor to their growth; running their own on-prem server farm is expensive, inefficient, and non-compliant; CTOs want to leverage <a href="https://www.scalefactory.com/blog/2020/08/27/the-cost-of-not-going-cloud-native/">cloud native features</a> and consolidate cloud usage with a single cloud provider, etc.</p><p>Whatever your reason may be, start by asking yourself the question:</p><p><em>Why do I want to migrate to the cloud?</em></p><p>This is a useful exercise as it helps thinking about a migration strategy and preparing a business case and a cloud migration plan.</p><p>In this article we want to focus on the different migration strategies on AWS, define them, and give you practical examples when they may be appropriate for you based on our experience helping SaaS businesses migrate.</p><figure><img alt="Migration Strategies" src="https://cdn-images-1.medium.com/max/1024/0*5GfPm0qEfjhk-U6e.png" /><figcaption><a href="https://aws.amazon.com/blogs/enterprise-strategy/new-possibilities-seven-strategies-to-accelerate-your-application-migration-to-aws/">© Amazon Web Services, Inc.</a></figcaption></figure><h3>The 7 R Framework</h3><p>The <em>7 R Framework</em> is a methodology for categorizing workloads that need to be migrated. It was originally conceived by <a href="https://d1.awsstatic.com/whitepapers/Migration/aws-migration-whitepaper.pdf">Stephen Orban</a>, then head of Enterprise Strategy at AWS, and later <a href="https://aws.amazon.com/blogs/enterprise-strategy/new-possibilities-seven-strategies-to-accelerate-your-application-migration-to-aws/">expanded</a> by AWS. The framework highlights the technical complexities and the opportunities of a cloud migration and helps you define a strategy for your migration plan. It uses the catchy name of <strong>7 R</strong> because it identifies seven migration strategies starting with the letter R:</p><ul><li><a href="#52cc"><strong>Re-host</strong></a></li><li><a href="#dc20"><strong>Re-platform</strong></a></li><li><a href="#a797"><strong>Re-architect</strong></a></li><li><a href="#a43e"><strong>Relocate</strong></a></li><li><a href="#86a1"><strong>Re-purchase</strong></a></li><li><a href="#d1c9"><strong>Retire</strong></a></li><li><a href="#9d2f"><strong>Retain</strong></a></li></ul><p>In the next sections we’re going to explain each strategy and how it may apply to your business.</p><h4>Re-host</h4><p>The re-host strategy is also referred to as <em>lift and shift</em>. The focus here is on completing the migration quickly: treat the (AWS) cloud like a data center, and run the workload there.</p><p>This is a great fit if you have a target or deadline to meet. For example, you might have a contract for colocation with an agreed break clause. Migrating to the cloud without rearchitecting lets you leave the old contract behind.</p><h4>Re-platform</h4><p>Sometimes referred to as <em>lift, tinker, and shift</em>, this builds on the <a href="#52cc">re-host</a> approach by making targeted adaptations to the new environment.</p><p>Imagine you have existing databases running in a data center context. With minimal changes to the core architecture, you can migrate the on-premises databases to a database-as-a-service platform like Amazon RDS and reduce the amount of time and effort your engineers spend managing, upgrading, and backing up your database instances.</p><h4>Re-architect</h4><p>The <em>re-architect</em> strategy is also referred to as refactoring, by analogy with code refactoring.</p><p>If you already did a simpler migration to the cloud, such as a <a href="#52cc">lift and shift</a>, the limitations of that old architecture can add up. Once there’s a case to be made, an internal migration lets you swap out the old architecture whilst staying on the same cloud provider. You can also switch provider at the same time; for example, if you need flexibility around regional service that the existing offering can’t provide.</p><p>With code refactoring, you use unit and other tests to make sure that the rewritten code still works how you expect. Re-architecting for a cloud migration, you typically use a different set of tests to achieve the same overall aim. Use the existing integration tests, or write new ones, to show that the new architecture works the same way that customers expect. In an ideal migration, you’re able to switch architectures without customers even noticing when you do.</p><h4>Relocate</h4><p>The relocate strategy allows to transfer servers and databases within the cloud with minimal impact or disruption.</p><p>A frequent example that we’ve encountered with our clients is the migration of an RDS instance to another VPC or AWS account (and possibly encrypting the database if it was previously unencrypted). Another example is migrating several VMware workloads to <a href="https://aws.amazon.com/vmware/">VMware Cloud on AWS</a>.</p><p>The idea is that you simply relocate your workloads and services within the cloud by leveraging the migration services offered by AWS and without applying significant changes or causing major downtime.</p><h4>Re-purchase</h4><p>If you work on a SaaS product yourself, you’ll know this: it can pay to get somebody else to run it. That’s not just true for your customers it can work for your own business.</p><p>We’ll explain this with an example SaaS app. Let’s say the provider offer software for opticians. There’s a component that renders PDFs, and all it’s used for is to make a printable wall calendar that customers can order. You figure out that you can sign up for a PDF rendering API that costs pennies per click, and can get rid of some problematic code. The actual printing and shipping has always been outsourced so it’s an easy change.</p><p>You get less code to look after and fewer things to fix. Buying in an undifferentiated or widely-used API frees your team to focus on delivering value-added service to customers.</p><p>As a leading cloud provided, AWS offer a suite of <a href="https://aws.amazon.com/products/">services</a> that might well replace something you already use-and at competitive prices. There are too many to list here; if you’re considering a migration, there’s a really good chance that you’ll find a good fit.</p><h4>Retire</h4><p>When you zoom in to look at specific components, you can move them as they are, you can re-architect them, and you can pay someone else to provide an equivalent.</p><p>Of course, you might not need to. If you’re using a cloud-native architecture, you can probably retire a custom service or application that you developed and that is now provided natively in the cloud.</p><p>Once you’ve modernised, you’ll probably find a few components you can stop using. These might be custom code like the PDF renderer or supporting infrastructure like a monitoring tool.</p><p>Cutting costs all the way to zero sounds appealing, right? It could well be an option.</p><h4>Retain</h4><p>The retain strategy is also referred to as ‘re-visit’ or ‘do nothing’. If what you have isn’t broken, you don’t need to fix it. If it requires major refactoring before it can be moved and a large budget or timescale to re-architect it, park it for now and revisit it later.</p><p>This may also be your initial strategy for tackling complex and expensive migrations. Start your migration to the cloud with quick wins and low hanging fruits, e.g. migrating first what brings added value to our businesses and requires low effort. Once you’ve gathered experience within your team and demonstrated you can successfully migrate to the cloud, your CFO will be more likely to approve that expensive refactoring of a monolithic application that you’ve always wanted to do.</p><p><em>Need help unlocking your business potential with an AWS cloud migration? Want to know what funding support is available to you? </em><a href="https://scalefactory.com/solutions/migrate-to-aws/"><em>Talk to a migrations expert</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99d688972556" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scale-factory/seven-strategies-for-migration-to-aws-99d688972556">Seven Strategies for Migration to AWS</a> was originally published in <a href="https://medium.com/scale-factory">Scale Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>