October 30, 2022

Serverless API Backend for xBrowserSync on Azure

I have been using xBrowserSync for two years now with my own API Backend. In this post we will look at deploying the xBrowserSync API backedn using the serverless technologies on Microsoft Azure I used CosmosDB to persist the data, CosmosDB supports per item size of up to 2MB. Hence I set the size limit to 1.5MB and configured it to serverless mode as to pay only for the used read/write capacity units. Read more

September 12, 2021

Mirror HTTP request using ALB backed by AWS Lambda

When Gonzalo Diethelm asked me whether there is a way to echo the http request to validate Lambda@Edge functions that modifies the request by adding / updating / deleting headers? I couldn’t find something that’s already available. Hence I quickly created a simple Lambda function front-ended by Application Load Balancer to just return the response that it has recieved. Read more

March 20, 2021

Serverless UI testing using Selenium, AWS Lambda, AWS Fargate, and AWS Developer Tools

Since the post Using AWS CodePipeline, AWS CodeBuild, and AWS Lambda for Serverless Automated UI Testing was published, things have evolved with Chrome headless and Firefox headless being supported natively. AWS Lambda now supports container images, AWS Step Functions has added support for Map state and its integration with Lambda, and AWS Fargate has enabled automating the UI testing completely using serverless technologies. The goal of this post is to demonstrate how to use AWS Developer Tools) to build a continuous delivery pipeline that automatically deploys a test environment and runs a UI test against it. We also explain how to build a container image which includes Chromium browser, Firefox browser, Selenium, and its dependencies, which are used in Lambda and Fargate. You can accelerate the testing by launching multiple test cases in parallel using the Map state in Step Functions. Read more

December 21, 2020

Serverless API Backend for xBrowserSync

Ever since Xmarks Sync was shutdown by LogMeIn(LastPass), I was looking for a better cross browser & cross device bookmark synchronization service. While reviewing PrivacyTools I came across xBrowserSync which looked like a better alternative. I liked the way it has been implemented using SHA-256 hash, 250000 iterations and AES-GCM algorithm to generate the hash of the custom password provided. Additionally, xBrowserSync provides a way to configure your own API backend where you store your information. Read more

September 6, 2018

Running AWS Glue jobs connecting to database in VPC with Custom DNS

AWS Glue is a fully managed ETL service that makes it simple and cost-effective to categorize your data, clean it, enrich it, and move it reliably between various data stores. Glue job is the business logic that automate the extract, transform, and transfer data to different locations. Glue job creates a Hadoop task in the backend and since it uses Hadoop ecosystem all the nodes in the cluster must be able to find using the FQDN and communicate with each other. Read more

© Prakash P 2015 - 2021

Powered by Hugo & Kiss.