Case Study

Pase Cultural

Benefits and discount card for high school students and teachers.

We built the first Serverless Application for the Government of Buenos Aires City with the purpose of high school students from 16 to 19 years old and teachers from public schools access to exclusive benefits and discounts on cultural assets. Both students and teachers receive a debit card issued by Banco Ciudad to make use of them. In addition, students receive credit ($2,000) every semester to be used with special offers to attend shows, recitals, theater, movies and also buy books and magazines with exclusive benefits.

Credit Card icon

The Challenge

The main audiences of the platform, students, and teachers, presented a big challenge considering the behavior and/or use habit of the application, which was extremely variable. The vast cultural offer in the agenda of activities proposed by the Ministry of Culture caused a distribution of user traffic throughout the week and even in a large hourly range during each day, making the planning of the platform's capacities complex to ensure the best end-to-end user experience in an efficient cost. In addition, the Ministry of Culture proposed as a goal for the first year, to subscribe the 80% of its audience through marketing actions, such as, promotion of events, special benefits, and contests that generated a high volume of simultaneous users responding to such initiatives. In summary, the key to success was to have a completely scalable, fast, robust, and secure solution that is also cost-efficient.
  • The platform must have the elasticity to respond effectively the marketing initiatives, scaling rapidly its capabilities as the user traffic increases and on the opposite, decreases. Ensuring at all times, the best user experience at the lowest possible cost.
  • More than 70% of the users access to the application from mobile devices through 3G and 4G connections, therefore it must have an excellent download speed, less than 4 seconds.
  • Due to the sensitivity of the information managed by the platform, it is of utmost importance that each transaction is carried out in a secure end-to-end way.

The Approach

  • We designed the architecture of this platform based on the business objectives and best practices of Serverless Computing. This kind of architecture has the highest levels of availability and resilience, is self-scaleable, and fully managed by AWS. Based on the capabilities of Amazon Web Services we implemented a 100% Serverless solution, the key is the use of Amazon API Gateway, AWS Lambda, and AWS DynamoDB, among other Serverless services, to successfully achieve the challenges posed.
  • To build a web application, we rely on a mobile-first strategy. ¬†Using Angular to optimize the presentation of content and navigation workflows. In addition, we used Amazon S3 and Amazon CloudFront (CDN) for the distribution of these contents so that users can download them using the high-speed transfer to the closest server from where they are connected.
+4
API Gateway Endpoints
+100
Lambda Functions
+10
Dynamodb Tables
+90
CodePipeline Delivery

CloudFront

It is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment.

S3

Amazon Simple Storage Service is an object storage service that offers industry-leading scalability, data availability, security, and performance.

Aurora Serverless

It's an on-demand, auto-scaling configuration for Amazon Aurora (MySQL-compatible and PostgreSQL-compatible editions), where the database will automatically start up, shut down, and scale capacity up or down based on your application's needs.

SNS

It's a highly available, durable, secure, fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications.

SQS

It's a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications.

Cognito

This service lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily.

Kinesis

Offers key capabilities to cost-effectively process streaming data at any scale, along with the flexibility to choose the tools that best suit the requirements of your application.

Step Functions

Lets you coordinate multiple AWS services into serverless workflows so you can build and update apps quickly. Workflows are made up of a series of steps, with the output of one step acting as input into the next.

EventBridge

It's a serverless event bus that makes it easy to connect applications together using data from your own applications, integrated Software-as-a-Service (SaaS) applications, and AWS services.

CloudFront

It is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment.

S3

Amazon Simple Storage Service is an object storage service that offers industry-leading scalability, data availability, security, and performance.

Aurora Serverless

It's an on-demand, auto-scaling configuration for Amazon Aurora (MySQL-compatible and PostgreSQL-compatible editions), where the database will automatically start up, shut down, and scale capacity up or down based on your application's needs.

SNS

It's a highly available, durable, secure, fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications.

SQS

It's a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications.

Cognito

This service lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily.

Kinesis

Offers key capabilities to cost-effectively process streaming data at any scale, along with the flexibility to choose the tools that best suit the requirements of your application.

Step Functions

Lets you coordinate multiple AWS services into serverless workflows so you can build and update apps quickly. Workflows are made up of a series of steps, with the output of one step acting as input into the next.

EventBridge

It's a serverless event bus that makes it easy to connect applications together using data from your own applications, integrated Software-as-a-Service (SaaS) applications, and AWS services.

Partners

Key Results

  • In the first year we exceeded the goal proposed by the Ministry of Culture in terms of the number of subscribers to the program.
  • We maintained the portal with an uptime of 99.99% per year.
  • We achieved an average download speed of less than 3.7 seconds.
  • We improved the annual cost of the infrastructure, being 30% below the annual budget.
  • We obtained the certification of AWS Well-Architected Serverless Applications.

Conclusion

In collaboration with some areas of the Government of the Buenos Aires City we assemble a multi-disciplinary team to meet this great challenge. We decided to use Serverless technologies based on the business objectives and the particular characteristics of the use by the target audience of this platform. Becoming the first public sector solution to use Serverless technologies mounted on Amazon Web Services. These innovative technologies allowed us to successfully achieve business results and generate enough confidence for other public sector projects to take a similar approach.
  • We were able to confirm that Serverless technologies have the potential to completely change the way companies design, build, deploy and enhance their applications. It greatly reduces management and infrastructure costs and in turn facilitates large scale growth, accompanied by business evolution.
  • Amazon API Gateway is a fully managed service by AWS that made it easy for us to create, publish, maintain, monitor and secure private and public RESTful APIs with the highest levels of service according to the project needs.
  • AWS Lambda is a disruptive technology where no servers need to be managed, you just need to focus on coding the business logic and running it. This made it easier for us to build business logic segmented into discrete functions based on a micro-services strategy. These functions perform very specific tasks, then are orchestrated using an event-based architecture by modeling the required business workflows.
  • AWS Dynamodb is a fully managed non-SQL database service with consistently low latency levels regardless of load level. This allowed us to ensure the best user experience for managing states, sensible data and more.

We help your business become serverless

Get a tailor-made Proof of Concept to test drive serverless technologies. Experience serverless powers applied to your specific business needs.

The benefits of self-scaling, its efficiency and the agility of Serverless Architectures can help you achieve your business goals. With the vast experience of Sinapsis' AWS-certified engineers, you can accelerate your path and achieve these same benefits fast and safely.

Learn more

Contact

Place

Mendoza 4848
Buenos Aires
Argentina

...

Sending

Ups!

Something went wrong. Please try again.

Thanks!

We'll get back to you soon.