Authordsezen

Building Microservices

Facebooktwittergoogle_pluslinkedinmailby feather

I have recently finished reading Sam Newman's "Building Microservices" book, from which i learned so many topics that were questions in my mind towards building micro services.

Micro Services

Although there are so many lessons i learned, but the most remarkable ones are:

– Services are communicated between each other on service-level rather than via DB

– Although there is no restriction, but having seperate DB for each/set of services is ok

– Service orchestration and scaling

– Breaking monolith into pieces

 

 

 

git repository from scratch

Facebooktwittergoogle_pluslinkedinmailby feather

 

I just need to bring up a git repo from scratch and push to github on a computer where there was initially

– NO git repo

– NO ssh keys to connect to github

 

So here are the straightforward steps:

1. Initializing git repo on the directory where you want:

git init

2. Adding all the files to the git repository:

git add .

3. First commit:

git commit -m "First commit"

4. Adding a remote repository:

git remote add origin [email protected]/funkydorian/ansible.git

5. You can check the effect of the previous step by:

cat .git/config

6. Check if you have ssh keys in order to connect to github:

ls ~/.ssh/id_rsa

7. If yes, check if you can connect to github:

ssh -T [email protected]

7. If not, create the keys:

ssh-keygen -t rsa -b 4096 -C "[email protected]"

8. Add your private key identities to the authentication agent:

ssh-add ~/.ssh/id_rsa.pub

9. Copy the key to your clipboard:

pbcopy < ~/..ssh/id_rsa.pub

10. Login to your github.com from your browser

Settings –> SSH Keys –> Add Key –> Paste the content of id_rsa.pub

11. Create the repository on github.com

12. Check again if you can connect to github:

ssh -T [email protected]

You must see the output like:

"You've successfully authenticated…."

13. Try to push to github:

git push -v origin master

 

n11.com DevOps Presentation

Facebooktwittergoogle_pluslinkedinmailby feather

 

The images are from today's n11.com DevOps presentation

 

n11 DevOps 20151026_173203

Docker –link

Facebooktwittergoogle_pluslinkedinmailby feather

I was trying to find a use-case of the "–link" functionality in Docker in terms of a "Service Discovery" perspective and i found the following repo:

https://github.com/benschw/docker-service-discovery-with-links

Seems some way through… I will be going deeper, any comments are appreciated….

 

Gelisim Platformu DevOps ALM Workshop

Facebooktwittergoogle_pluslinkedinmailby feather

 

We have spent valuable time in Gelisim Platformu, who invited me to conduct a DevOps ALM workshop.

The two teams followed a different path towards ALM by taking business requirements from me.

Hope to meet you some time later soon!

DevOps Gelisim Platformu DevOps Gelisim Platformu DevOps Gelisim Platformu DevOps Gelisim Platformu DevOps Gelisim Platformu DevOps Gelisim Platformu

URL Redirection on AWS Route53 and Cloudflare

Facebooktwittergoogle_pluslinkedinmailby feather

 

Redirecting your domain.com to www.domain.com does not requiere anymore to have a host/virtualhost and html redirection file, that was 10 years before!

Here is the practical way for AWS Route53 and Cloudflare:

1. AWS Route53:

Steps:

– Go to S3

– Create a new bucket named "domain.com"

– Properties –> Static WebSite Hosting

– Redirect all requests to another hostname

– www.domain.com should filled automatically

– Click "Save"

AWS Route53 URL Redirection

– Goto Route53

– Edit A record

– Select Alias Yes

– Select the s3 bucket you already created

– Click Yes

AWS Route53 S3 Alias URL Redirection

2. CloudFlare:

For Cloudflare it is much more easy, here it is:

– Open "Page Rules" tab

– Add new rule with "URL pattern "domain.com/*"

– Change Forwarding to On

– Enter Forwarding URL as "htttp://www.domain.com/$1"

– Choose 301 redirection

– Click "Add Rule"

The final should be as below:

Cloudflare URL Redirection 301

Türk Telekom Agile Zirvesi 2015

Facebooktwittergoogle_pluslinkedinmailby feather

 

I have done a brief introduction to DevOps Culture, Principles and some tools during Turk Telekom Agile Zirvesi 2015.

The link to my presentation is here

 

ttdevops_05 tt_devops04 tt_devops03 tt_devops02 tt_devops01

AWS Elastic Beanstalk the security group having id does not exist problem

Facebooktwittergoogle_pluslinkedinmailby feather

AWS Elastic Beanstalk

During playing with AWS EB, i noticed that somehow the Security Group from the previous environment was inherited by the new environment. This creates problem, when you want to terminate the old environment, as the security group already exist on another environment. That’s why i deleted the security group from the new environment. Since, i deleted it from the new environment, i cannot make deployment on the new environment because it gives the following error:

Failed Environment update activity. Reason: Configuration validation exception: Invalid option value: ‘sg-8712f4e3’ (Namespace: ‘aws:autoscaling:launchconfiguration’, OptionName: ‘SecurityGroups’): The security group having id ‘sg-8712f4e3’ does not exist

In order to overcome this, you need to change the EB Security Group from AWS CLI, you cannot do it from AWS Web Console.

Considering you have already AWS CLI installed (http://docs.aws.amazon.com/cli/latest/userguide/installing.html) , you need to the following command in order to change the Security Group:,

aws elasticbeanstalk update-environment –environment-name –option-settings Namespace=aws:autoscaling:launchconfiguration,OptionName=SecurityGroups,Value=””

AVEA – Turk Telekom DevOps Presentation and Webinar

Facebooktwittergoogle_pluslinkedinmailby feather

I am invited to Avea Technology Campus to make a presentation about DevOps Mindset which is also broadcasted as webinar to all Turk Telecom employees.

We discussed some of the pain points they are experiencing and possible ways to overcome those.

Avea Turk Telekom DevOps

Avea Turk Telekom DevOps

Agile42 Scrum Trainings

Facebooktwittergoogle_pluslinkedinmailby feather
SCRUM Pull versus Push

SCRUM Pull versus Push

I recently attended to the two trainings of Agile42 in Istanbul: CSPO and CSM.

CSPO was conducted by Bent Myllerup, CSM was conducted by Lasse Ziegler.

Despite i was previously attended to SCRUM trainings, meetups and read books, i found so many points which improved my agility vision and skills.

The practical experience and use-case examples of both trainers was impressive.

Hope, to progress towards CSP in the future.

© 2019 Derya Sezen

Theme by Anders NorénUp ↑


visited 27 states (12%)
Create your own visited map of The World