Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A26A118A01 for ; Tue, 21 Jul 2015 12:10:25 +0000 (UTC) Received: (qmail 12807 invoked by uid 500); 21 Jul 2015 12:10:25 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 12756 invoked by uid 500); 21 Jul 2015 12:10:25 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 12746 invoked by uid 99); 21 Jul 2015 12:10:25 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2015 12:10:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BE24DD6653 for ; Tue, 21 Jul 2015 12:10:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.151 X-Spam-Level: **** X-Spam-Status: No, score=4.151 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, KAM_LIVE=1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id WvHcONwKWaQC for ; Tue, 21 Jul 2015 12:10:11 +0000 (UTC) Received: from mail-ie0-f193.google.com (mail-ie0-f193.google.com [209.85.223.193]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 7249620F46 for ; Tue, 21 Jul 2015 12:10:11 +0000 (UTC) Received: by iebmx2 with SMTP id mx2so11784746ieb.2 for ; Tue, 21 Jul 2015 05:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wyvhxYMTOWZo/G/52WKT1YPmCud2qkX71iK8zWV/NZo=; b=EdHd02jbxz27iVcObAszfsXxY3uOmXU3VXUCjTJdLvVML1AzvdnN/QS5FsjqDb6WUw IWR+0gUCdmsZgTRK9bckxIhxjBmuggOISozqfBpjF2LZ8nV44w/f5qSD1+qMKHeXnlAt CeX4Hc0N+ckCa6vyA6w+8nkvXFw/Wbro1a7EM3knzJFyyAAuSGjoh8l/Xxx8dq1ClV4z jZts7oqXhEtUo3UvgsZPeRXLnN/MdDldPFLp/aZhalgddkj2tuuoyoIKnMxSpKZ8e0GT ras/Br/H7VmbZV/QpfgHWZHiCmwLHHNutfV6kge6T0MP44LyV3F8lnzmx9GenesQSM0f TTVw== MIME-Version: 1.0 X-Received: by 10.107.138.13 with SMTP id m13mr32604284iod.24.1437480605631; Tue, 21 Jul 2015 05:10:05 -0700 (PDT) Received: by 10.79.113.68 with HTTP; Tue, 21 Jul 2015 05:10:05 -0700 (PDT) Received: by 10.79.113.68 with HTTP; Tue, 21 Jul 2015 05:10:05 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 Jul 2015 12:10:05 +0000 Message-ID: Subject: Re: AWS Load Balancing Support for Stratos - Weekly Update From: Swapnil Patil To: dev , Imesh Gunaratne Cc: Udara Liyanage Content-Type: multipart/alternative; boundary=001a113f1ef2dec929051b618853 --001a113f1ef2dec929051b618853 Content-Type: text/plain; charset=UTF-8 Hi Imesh, Apologies for the delay. Any time tomorrow would be fine for me. Regards, Swapnil On Jul 21, 2015 9:54 AM, "Imesh Gunaratne" wrote: > Hi Swapnil, > > Thanks for the update. Shall we have a Google Hangout this week? Please > let us know your availability. > > Thanks > > On Mon, Jul 20, 2015 at 11:47 AM, Swapnil Patil > wrote: > >> Hi All, >> >> In last week I worked on following tasks. >> >> 1. Tested and modified extension to make sure it works properly when a >> simple application is deployed and undeployed. >> 2. I made changes to automatically find out aws region in which the load >> balancer should be created. This is also useful while setting endpoint of >> each AWS API call. >> 3. I have published screencast on YouTube. Here is the link - >> https://youtu.be/ZNl8JVB7xeU. >> 4. I have committed these changes to GitHub repo. URL - >> https://github.com/swaprp15/stratos >> >> I am planning next steps as follows. >> >> 1. Testing scale up and scale down. >> 2. Testing the scenario when port mappings of the service are changed. >> 3. Creating a security group for load balancer. AWS does use default >> security group for load balancers created. But then we need to manually >> configure it to allow required ports. So it would be better if extension >> automatically create and use it. >> 4. Implementing logic for getting in flight request count. >> >> I would appreciate any thoughts on next steps. >> >> Thanks and Regards, >> Swapnil >> >> On Thu, Jul 16, 2015 at 6:33 PM, Swapnil Patil >> wrote: >> >>> Hi Akila, >>> >>> I updated the issue with latest status and github repo. But I am not >>> able to find a way to assign this to myself. >>> >>> Could you please let me know how to do it? >>> >>> Thanks and Regards, >>> Swapnil >>> >>> On Thu, Jul 16, 2015 at 3:53 PM, Swapnil Patil >>> wrote: >>> >>>> Hi Akila, >>>> >>>> Sure. Will do. >>>> >>>> Thanks and Regards, >>>> Swapnil >>>> >>>> On Thu, Jul 16, 2015 at 2:02 PM, Akila Ravihansa Perera < >>>> ravihansa@wso2.com> wrote: >>>> >>>>> Hi Swapnil, >>>>> >>>>> Could you update the JIRA with latest status of the project at [1]. >>>>> Please put relevant docs links, GitHub repos and assign this task to >>>>> yourself. >>>>> >>>>> [1] https://issues.apache.org/jira/browse/STRATOS-500 >>>>> >>>>> Thanks. >>>>> >>>>> On Mon, Jun 29, 2015 at 4:48 PM, Swapnil Patil >>>> > wrote: >>>>> >>>>>> Hi Udara, >>>>>> >>>>>> Okay. I will go through it and see if we can use it instead of aws >>>>>> sdk. >>>>>> >>>>>> Thanks for the link. >>>>>> >>>>>> Will send update on this soon. >>>>>> >>>>>> Regards, >>>>>> Swapnil >>>>>> On Jun 29, 2015 3:37 PM, "Udara Liyanage" wrote: >>>>>> >>>>>>> Hi Swapnil, >>>>>>> >>>>>>> As you have mentioned during the call, you are using aws Java SDK to >>>>>>> talk to AWS IaaS. However it is better to use JClouds if possible. JClouds >>>>>>> is the library which we use to talk to IaaS layer. It is better if you can >>>>>>> use it rather than adding another dependency. Please review the Jclouds lab >>>>>>> [1] regarding was elb. >>>>>>> >>>>>>> [1] >>>>>>> https://github.com/jclouds/jclouds-labs-aws/blob/master/aws-elb/pom.xml >>>>>>> >>>>>>> On Mon, Jun 29, 2015 at 12:13 PM, Swapnil Patil < >>>>>>> swapnil.rp15@gmail.com> wrote: >>>>>>> >>>>>>>> Hi Imesh, >>>>>>>> >>>>>>>> Ok. 2 PM today is fine for me. >>>>>>>> >>>>>>>> Thanks and Regards, >>>>>>>> Swapnil >>>>>>>> On Jun 29, 2015 11:31 AM, "Imesh Gunaratne" >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi Swapnil, >>>>>>>>> >>>>>>>>> Shall we have a Hangout today to go through the current progress? >>>>>>>>> I have sent you a meeting request to have this today at 2:00 PM IST. Let me >>>>>>>>> know your availability. >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> >>>>>>>>> On Mon, Jun 29, 2015 at 11:14 AM, Swapnil Patil < >>>>>>>>> swapnil.rp15@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi All, >>>>>>>>>> >>>>>>>>>> Last week I worked on testing load balancer extension with ec2 >>>>>>>>>> cartridges. Till now I was able to spawn ec2 cartridge and have Stratos >>>>>>>>>> receive these events successfully. >>>>>>>>>> >>>>>>>>>> I tested aws extension on this. While deploying a new >>>>>>>>>> application, configure method of extension was called. But there were few >>>>>>>>>> errors related to my code changes. >>>>>>>>>> >>>>>>>>>> In this week I will continue to test the extension and make >>>>>>>>>> necessary changes in order to act on topology events properly and create >>>>>>>>>> and configure aws load balancers. >>>>>>>>>> >>>>>>>>>> Thanks and Regards, >>>>>>>>>> Swapnil >>>>>>>>>> >>>>>>>>>> On Tue, Jun 23, 2015 at 9:11 AM, Swapnil Patil < >>>>>>>>>> swapnil.rp15@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Imesh, >>>>>>>>>>> >>>>>>>>>>> Thanks for the feedback. >>>>>>>>>>> >>>>>>>>>>> Okay. I had tried it earlier but couldn't start Stratos. I guess >>>>>>>>>>> may be it was low memory error or may be the zip I was using was defective. >>>>>>>>>>> I will try again on single EC2 instance with correct zip. And if I get >>>>>>>>>>> memory issues I will try manual configuration with MB, CEP on different EC2 >>>>>>>>>>> instances. >>>>>>>>>>> >>>>>>>>>>> Thanks and Regards, >>>>>>>>>>> Swapnil >>>>>>>>>>> On Jun 23, 2015 2:08 PM, "Imesh Gunaratne" >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Thanks for the update Swapnil! >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Jun 22, 2015 at 12:46 PM, Swapnil Patil < >>>>>>>>>>>> swapnil.rp15@gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> 3. To test the other part (creating AWS load balancers). I >>>>>>>>>>>>> need to create cartridges in EC2. For that I need to find a way to access >>>>>>>>>>>>> my local machine from ec2 instance. I searched for a way to do this. It >>>>>>>>>>>>> seems I need to do port forwarding and firewall changes in my router to be >>>>>>>>>>>>> able to access my computer from an EC2 instance as per [3]. I will look >>>>>>>>>>>>> into this in this week. >>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>>> It would be easier to run ActiveMQ and Stratos on EC2. >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Imesh Gunaratne >>>>>>>>>>>> >>>>>>>>>>>> Senior Technical Lead, WSO2 >>>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Imesh Gunaratne >>>>>>>>> >>>>>>>>> Senior Technical Lead, WSO2 >>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Udara Liyanage >>>>>>> Software Engineer >>>>>>> WSO2, Inc.: http://wso2.com >>>>>>> lean. enterprise. middleware >>>>>>> >>>>>>> web: http://udaraliyanage.wordpress.com >>>>>>> phone: +94 71 443 6897 >>>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Akila Ravihansa Perera >>>>> Software Engineer, WSO2 >>>>> >>>>> Blog: http://ravihansa3000.blogspot.com >>>>> >>>> >>>> >>> >> > > > -- > Imesh Gunaratne > > Senior Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > --001a113f1ef2dec929051b618853 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi Imesh,

Apologies for the delay.

Any time tomorrow would be fine for me.

Regards,
Swapnil

On Jul 21, 2015 9:54 AM, "Imesh Gunaratne&q= uot; <imesh@apache.org> wrote= :
H= i Swapnil,

Thanks for the update. Shall we have a Google= Hangout this week? Please let us know your availability.

Thanks

On Mon, Jul 20, 2015 at 11:47 AM, Swapnil Patil = <swapnil.rp1= 5@gmail.com> wrote:
Hi All,

In last week I worked on followin= g tasks.

1. Tested and modified extension to make = sure it works properly when a simple application is deployed and undeployed= .
2. I made changes to automatically find out aws region in which= the load balancer should be created. This is also useful while setting end= point of each AWS API call.
3. I have published screencast on You= Tube. Here is the link - https://youtu.be/ZNl8JVB7xeU.
4. I have committed th= ese changes to GitHub repo. URL -=C2=A0https://github.com/swaprp15/stratos
=

I am planning next steps as follows.

1. Testing scale up and scale down.
2. Testing the scenari= o when port mappings of the service are changed.=C2=A0
3. Creatin= g a security group for load balancer. AWS does use default security group f= or load balancers created. But then we need to manually configure it to all= ow required ports. So it would be better if extension automatically create = and use it.
4. Implementing logic for getting in flight request c= ount.

I would appreciate any thoughts on next step= s.

Thanks and Regards,
Swapnil

On Thu, Jul 16, 2015 at 6:33 PM, Swapnil Patil <swapnil.rp15@gmail.c= om> wrote:
Hi Akila,

I updated the issue with latest status and gi= thub repo. But I am not able to find a way to assign this to myself.
<= div>
Could you please let me know how to do it?
Thanks and Regards,
Swapnil

On Thu, Jul 16, 2015 = at 3:53 PM, Swapnil Patil <swapnil.rp15@gmail.com> wrot= e:
Hi Akila,

Sure. Will do.

Thanks and Regards,
Swapnil

On Thu, Jul 16, 2015 at 2:02 PM, Akila Ravihansa Perera <ravihansa@wso2.com> wrote:
Hi Swapnil,

Could you update the JIRA = with latest status of the project at [1]. Please put relevant docs links, G= itHub repos and assign this task to yourself.


Thanks.
On Mon, Jun 29, 2015 at 4:48 PM, Swapnil Patil = <swapnil.rp15@gmail.com> wrote:

Hi Udara,

Okay. I will go through it and see if we can use it instead = of aws sdk.

Thanks for the link.

Will send update on this soon.

Regards,
Swapnil

On Jun 29, 2015 3:37 PM, "Udara Liyanage&qu= ot; <udara@wso2.com<= /a>> wrote:

On Mon, Jun 29, 2015 at 12:13 PM, Swapn= il Patil <swapnil.rp15@gmail.com> wrote:

Hi Imesh,

Ok. 2 PM today is fine for me.

Thanks and Regards,
Swapnil

On Jun 29, 2015 11:31 AM, "Imesh Gunaratne&= quot; <imesh@apach= e.org> wrote:
Hi Swapnil,

Shall we have a Hangout to= day to go through the current progress? I have sent you a meeting request t= o have this today at 2:00 PM IST. Let me know your availability.
=
Thanks

On Mon, Jun 29, 2015 at 11:14 AM, Swapnil Patil <sw= apnil.rp15@gmail.com> wrote:
Hi All,

Last week I worked on testing= load balancer extension with ec2 cartridges. Till now I was able to spawn = ec2 cartridge and have Stratos receive these events successfully.=C2=A0

I tested aws extension on this. While deploying a new= application, configure method of extension was called. But there were few = errors related to my code changes.

In this week I = will continue to test the extension and make necessary changes in order to = act on topology events properly and create and configure aws load balancers= .

Thanks and Regards,
Swapnil

On Tue= , Jun 23, 2015 at 9:11 AM, Swapnil Patil <swapnil.rp15@gmail.com&= gt; wrote:

Hi Imesh= ,

Thanks for the feedback.

Okay. I had tried it earlier but couldn't start Stratos.= I guess may be it was low memory error or may be the zip I was using was d= efective. I will try again on single EC2 instance with correct zip. And if = I get memory issues I will try manual configuration with MB, CEP on differe= nt EC2 instances.

Thanks and Regards,
Swapnil

On Jun 23, 2015 2:08 PM, "Imesh Gunaratne&q= uot; <imesh@apache= .org> wrote:
=
Thanks for the update Swapnil!

On Mon, Jun 22, 2015 at 12:46 PM, Swapnil= Patil <swapnil.rp15@gmail.com> wrote:
Hi,

3. To test the ot= her part (creating AWS load balancers). I need to create cartridges in EC2.= For that I need to find a way to access my local machine from ec2 instance= . I searched for a way to do this. It seems I need to do port forwarding an= d firewall changes in my router to be able to access my computer from an EC= 2 instance as per [3]. I will look into this in this week.
=

=
It would= be easier to run ActiveMQ and Stratos on EC2.=C2=A0

--
Imesh Gunaratne
=
Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos
<= /div>




--
=
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos
=



--
=

Udara Liyanage
Software Engineer=
WSO2, Inc.:=C2=A0http://wso2.com
lean. enterprise. middleware

= phone:=C2=A0+94 71 443 6897



<= /div>--
Akila Ravihansa Perera
So= ftware Engineer, WSO2

Blog: http://ravihansa3000.blogspot.com






--
=
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos
=
--001a113f1ef2dec929051b618853--