Design, build and launch infrastructure on AWS for Roler
Roler is a company that rents electric scooters and bicycles via a proprietary mobile application. The company operates in the largest cities of the Silesian Agglomeration, and already has more than 700 bicycles and scooters on offer.
The beginning of cooperation
Representatives of Roler approached us, together with Intellect's development team, to help design, build and launch an infrastructure capable of supporting a mobile application for the use of electric scooters and bicycles for rental.
The main goal was to create an infrastructure capable of scaling very quickly to withstand the increased user interest associated with weekends, concerts or other events conducive to the use of Roler's offerings.
Implemented solutions
We decided to build the entire infrastructure for the client's application within AWS. We based the application database on Amazon Aurora, while we decided to use the Amazon DocumentDB database to support the hardware part. Interestingly, the Client's application works on the basis of an online store, not an IoT network as you might think. Therefore, we decided to divide the application into 8 functional Docker microservices, which we ran in an ECS cluster. Each of them has a different role, from sending SMS messages to managing devices to geolocation for which we used DocumentDB, which stores the route data of all scooters and bikes (each device has a built-in module for management and communication).
For proper operation of the rental service, a secure connection of each device to the LTE network is required. In order to secure the connection, Roler devices operate in a separate subnet, under the private APN service. Communication of the devices with the infrastructure is carried out through an encrypted IPsec site-to-site VPN channel, which we set up with the aforementioned private endpoint (APN), purchased by the developer from the LTE network operator.
Infrastructure scaling is done at the container level, and each microservice has its minimum and maximum scaling levels set. Both the application microservices and all the resources available to the end user operate in a high availability model. The entire environment consists of a development and production part, which are managed in the IaC approach, from within Terraform.
Summary
We designed, built and launched a scalable, microservices-based infrastructure in AWS for Roler. We are currently providing administrative care services for the client, as well as consulting on opportunities to expand the existing infrastructure. We also supported the development team at the application deployment level working at the interface between the infrastructure and the application, so that the deployment and launch went smoothly.
Read also:
- Multi-stage migration of Capsim infrastructure to AWS
- Implementation of cloud infrastructure for Magic Commerce, based on microservices, containers and IaC approach
- Implementation and maintenance of cloud infrastructure in AWS for Displate
- AWS infrastructure administration care for BiotCloud
- Implementation of a tool that automates the construction of subsequent infrastructures for the Flying Bisons company