Cloud infrastructure for your applications on AWS and Cloudflare

Cloud infrastructure services on AWS and Cloudflare: we design, migrate and maintain the infrastructure of your applications. For each component we choose the service that fits best, with data in Europe, automated deployments and a bill you can understand.

AWS Partner with multi-cloud deployment · Cloudflare Workers in many of our projects

Cloud infrastructure on AWS and Cloudflare: AWS and Cloudflare logos with Lambda, ECS, RDS and S3 on AWS, Workers, R2, D1 and WAF on Cloudflare, and the eu-south-2 Spain region
// what-are-aws-and-cloudflare

What AWS and Cloudflare are and what we use each one for

Amazon Web Services (AWS) is Amazon's cloud platform: servers, managed databases, storage, queues and hundreds of other services, with a region in Spain, in Aragon, since November 2022. It is where we usually host applications with a database, background processes or compliance requirements.

Cloudflare started as a content delivery network (CDN) and protection against attacks, and today it also offers a platform to run code on its own network: Cloudflare Workers, with storage (R2), a database (D1) and queues. We use it for websites, lightweight APIs and anything that has to respond quickly from any country.
  • AWS: applications with a PostgreSQL database (RDS or Aurora), containers (ECS), functions (Lambda), files (S3) and queues.
  • Cloudflare: DNS, CDN, web application firewall (WAF), DDoS protection, static websites and code on Workers.
  • Both together: Cloudflare in front of the application hosted on AWS, filtering traffic and serving from cache whatever it can.
Cloudflare Workers code: a TypeScript Worker that serves active prices from a D1 database at /api/prices, with an R2 bucket binding, deployed with Wrangler
// where-to-deploy

When we recommend AWS, Cloudflare or both

For each application, we propose where each component goes based on these criteria:
  • Data and heavy processes on AWS: relational databases, long-running processes, queues and services that need a private network.
  • Anything that has to respond fast on Cloudflare: websites, lightweight APIs, redirects and logic close to the user, with pay-per-use pricing.
  • Data in Europe: AWS regions in Spain or in other EU countries, and data localization options on Cloudflare.
  • Predictable costs: budgets and spending alerts from day one, and managed services only when they pay off compared to running them yourself.
  • If you already work on Azure or Google Cloud, we deploy on your cloud; we don't suggest migrating without a clear reason.
Infrastructure as code with Terraform: a PostgreSQL 18 database on Amazon RDS in the Spain region (eu-south-2), encrypted, Multi-AZ, with 14 days of backups and deletion protection, and the terraform plan adding one resource
// comparison

AWS vs Cloudflare: what we use from each

AWS and Cloudflare complement each other more than they compete. This table sums up what each one offers for the usual components of an application.

AWS vs Cloudflare comparison across six components. Running code: ECS and Fargate containers, Lambda functions and EC2 servers vs Workers at the edge and containers. Database: managed PostgreSQL and MySQL (RDS, Aurora) and DynamoDB vs D1 (SQLite) and Hyperdrive for an external PostgreSQL. Files: S3 vs R2 with no egress fees. Network and security: VPC, load balancers, AWS WAF and Shield vs DNS, CDN, DDoS protection on every plan and WAF. Pricing: per resource and hour vs per request and usage. Best fit: applications with data, long processes and private networks vs websites, lightweight APIs and the layer in front of any application
Download comparison

Indicative comparison. You can enlarge it, or download it and share it citing the source.

// services

Our AWS and Cloudflare services

Infrastructure for the applications we build or maintain, from the first deployment to regular cost reviews.

Application deployment

Staging and production environments, automated deployment from the repository and a rollback ready.

Cloud migration

From your own server or a hosting provider to AWS or Cloudflare, in phases and without losing data.

Serverless and Workers

Functions on AWS Lambda and Cloudflare Workers for APIs, scheduled tasks and integrations.

Security

Cloudflare in front of the application, WAF, certificates, backups and least-privilege permissions on AWS.

Cost control

AWS bill reviews, spending alerts and rightsizing of resources that are unused or oversized.

Monitoring and maintenance

Logs, metrics and alerts, plus operating system and database updates.

// cloud-migration

How we migrate an application to the cloud

01

Review of the current setup

We inventory servers, databases, domains, email and scheduled tasks, and measure real usage to size everything properly.

02

Architecture and costs

We propose where each component goes and estimate the monthly cost before moving anything.

03

Infrastructure as code

We create the environments with versioned code, so they can be repeated and reviewed, and rehearse the migration with a copy of the data.

04

Cutover and follow-up

We switch over in an agreed window, with DNS ready to roll back, and review performance and the bill during the first month.

$ offing init tu-proyecto

Want to move your application to the cloud or review what you pay?

Tell us where it is hosted today and what worries you. On the first call, with the person who will lead the project, we'll tell you what we would propose and how much it would cost per month.

Book a call
// faq

Frequently asked questions about AWS and Cloudflare

It is a global network that sits in front of a website or application to speed it up and protect it: it manages DNS, serves content from cache, filters attacks and blocks malicious traffic. With Cloudflare Workers, it also lets you run code on its own network.

For most applications, both. Cloudflare sits in front and handles the network, caching and security; AWS hosts the database and the processes. A website or a lightweight API can live on Cloudflare alone, at a very low cost.

Yes, Offing is an AWS Partner. We work mainly with AWS and Cloudflare, and we also deploy on other clouds when the client already uses them.

Yes. AWS has had a region in Spain, in Aragon, since November 2022, plus other regions in the European Union. It is a good option when the GDPR or your contracts with customers require data to stay in the country or in the EU.

It depends on traffic, the database and the availability you need. A management application for a mid-sized company usually costs between a few tens and a few hundred euros a month. Before migrating, we give you an estimate with the AWS Pricing Calculator and set up spending alerts.

Yes. We review which services cost the most, look for oversized or forgotten resources, storage and backups that grow unchecked, and traffic that could be served from Cloudflare. You get a list of changes with the estimated saving for each one.

It is a way of deploying code without managing servers: the provider runs it when a request arrives, and you pay per use. It makes sense for APIs with variable traffic, scheduled tasks and integrations. For long-running processes or high, steady traffic, containers usually work out better.

It is Cloudflare's platform for running code (JavaScript, TypeScript, Python or WebAssembly) on its network, close to each user. It starts in milliseconds and you pay per request. We use it for lightweight APIs, redirects, websites built with Astro and background tasks.

Yes. We start by inventorying what is there, propose where each component goes with its monthly cost, and rehearse the migration with a copy before the cutover. We often take the opportunity to automate deployments and backups.

Yes, for the applications we build or maintain: updates, backups, certificates, monitoring and regular cost reviews. Accounts and access always remain in your company's name.