Category: Amazon Web Services

Measuring Network Throughput using NetPerf & iPerf

Using NetPerf and iPerf for UDP throughput

The three key measures of network performance are latency (the time required to transfer data across the network), throughput (the amount of data or number of data packets that can be delivered on an IP network in a predefined timeframe) and jitter or delay jitter (the changes and their duration in delay that occur during …

Continue reading

Adding CORS Headers Using Lambda@Edge and Amazon CloudFront

Cross-origin resource sharing (CORS) defines a way for client web applications that are loaded in one domain to interact with resources in a different domain, it allows to build rich client-side web applications and selectively allow cross-origin access to your resources. To see how to enable CORS on most web servers see https://enable-cors.org/index.html. If you’re …

Continue reading

Elasticsearch and Kibana Search Speed Tuning

Elasticsearch - Logstash - Kibana

This blog post provides some tips for Elasticsearch and Kibana Search Speed Tuning, apart from those recommended by Elasticsearch official website [1]: giving enough memory to the filesystem cache using faster hardware searching as few fields as possible pre-indexing data avoiding scripts considering mapping identifiers as keywords etc. I recently installed the ELK Stack (Elasticsearch, …

Continue reading

GIS Map in Elasticsearch with Kibana using Vega, Scripted Fields & Painless

Vega graph

Elasticsearch is a distributed open source, RESTful search engine built on top of Apache Lucene and released under an Apache license. Kibana is an open source data visualization plugin for Elasticsearch. Vega (and Vega-lite) allows to beyond the built-in visualizations offered by Kibana. In this short tutorial we will use Vega to create a GIS …

Continue reading

How to create a CloudFront distribution with AWS SDK for Go

Amazon Web Services provides different SDKs, Toolkits and Command Line Tools to develop and manage application running on AWS. AWS SDK for Go is one of the latest tools provided. New versions are pushed almost every 5 days. In this blog post, we will write a simple Go code to create a CloudFront distribution with …

Continue reading

6 things you should know about Amazon CloudSearch

Amazon CloudSearch is a fully-managed service in the AWS Cloud that makes it simple and cost-effective to set up, manage, and scale a custom search solution for your website or application. Amazon CloudSearch supports a rich set of features including language-specific text processing for 34 languages, free text search, faceted search, geospatial search, customizable relevance …

Continue reading

Uploading a Large File to Amazon S3

The largest single file that can be uploaded into an Amazon S3 Bucket in a single PUT operation is 5 GB. If you want to upload large objects (> 5 GB), you will consider using multipart upload API, which allows to upload objects from 5 MB up to 5 TB. The Multipart Upload API is …

Continue reading

Automatic Backup of MySQL Database to Amazon S3. Use of Object Expiration to Delete Old Backups

The importance of backing up a database needs no further demonstration. The following will create daily, weekly and monthly backups for our database and copy them to an Amazon S3 Bucket (MyBucketName) in MyBucketName/Daily, MyBucketName/Weekly and MyBucketName/Monthly folders respectively. To control the cost of our backup solution, we will set expiration to each file to …

Continue reading

Installing Alfresco Community With MySQL on Ubuntu Server on AWS EC2 With Content Stored on Amazon S3

At the top of almost every Linux distribution, the Debian-based Ubuntu surpasses all other Linux server distributions – from its simple installation to its excellent hardware discovery to its world-class commercial support. Amazon Web Services is indisputably the largest cloud service provider. MySQL is the world’s most popular open source database. Alfresco is the world’s …

Continue reading