Monthly Archives: July 2018

Creating custom AWS EC2 images with Packer.io

In this post i’ll show how to create custom images for aws ec2 and launching them within seconds. We need to create a json file to define our image settings.

After that we just need to build this image … Continue reading

Posted in AWS | Tagged | Leave a comment

Notifying Kubernetes events to Slack using Kubewatch

In this post i’ll show how to notify kubernetes events to our slack channel using bitnami-labs/kubewatch. kubewatch repo can be accessed using this link. We need to create slackbot.I created new bot named kubewatch-webischia. Then i copied this token. After … Continue reading

Posted in Kubernetes | Tagged , , , , , , , | Leave a comment

Using Amazon Translate Api on Java

In this post i’ll show how to use amazon translate api on java with aws sdk to do real-time translations. Amazon Translate Translate service offers neural and accurate translation service. Using 2million “character” per month is free. In this post … Continue reading

Posted in AWS, Java | Tagged , , , , , | Leave a comment

Using JWT Authentication with OpenResty Lua

In this post i’ll show how to authenticate nginx using jwt by OpenResty Lua. First of all what is openresty? OpenResty is a web application server which uses nginx as a core. With that you can leverage all nginx modules … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Single Sign-on with Nginx

In this post i’ll show how to use nginx as a reverse proxy to use single sign-on by Google oAuth2. First of all we need to get github/bitly/oauth2Proxy thats will become our authenticator for communicating google api. After that we … Continue reading

Posted in Golang | Tagged , , , , | Leave a comment

Sending custom metrics to Datadog

In this post we will sending custom metrics to datadog via datadog’s own python library.

After that we can show our metrics on datadog.com. PS: Beware you cannot send older metrics from 1 hour ago. https://help.datadoghq.com/hc/en-us/articles/203038029-I-d-like-to-add-historical-data-to-my-account-is-there-a-way-to-do-that-

Posted in Python, SaaS | Tagged , , , | Leave a comment

Scale DynamoDB Capacity using CloudWatch Metrics on Java

In this post i’ll show how to autoscale dynamodb using aws java sdk. First of all we need to open our client and sessions and select our dynamodb table using aws java sdk.

Now we should get cloudwatch metrics. … Continue reading

Posted in AWS, Java | Tagged , , , , , , | Leave a comment

Prometheus Monitoring Using Android Phone and Java Spring

In this article shows how to show prometheus monitored systems using java spring auth proxy. -JavaSpring With java we can implemented authenticate based querying on Prometheus Rest API Code can be accessible on github. -Android https://github.com/ffahri/serveranalysisandroid_ Used volley and mpAndroid … Continue reading

Posted in Uncategorized | Leave a comment