Re: Question regarding Resource and Secret service Backend in Production

2020-04-05 Thread Isuru Ranawaka
Hi Aravind,

There are different types of resources (e,g Remote Servers, Storages, API
..etc) and those resources are not homogeneous across gateways. Hence, I
guess adding Resource information into the Custos level is not an optimal
solution. But as Dimuthu mentioned, there should be a unified way to
evaluate permissions and obtain relevant credentials of resources from
Custos. We can register a resource with a unique Id inside Custos without
adding metadata. However, binding permissions, binding credentials to
resource Id is challenging.

I would be really great, If you can investigate different resources types
accessed by  MFT,  types of Credentials (e.g SSK Keys, Access Token), their
permission levels and suggest a  model to implement in Custos.

thanks
Isuru







On Sun, Apr 5, 2020 at 12:19 AM DImuthu Upeksha 
wrote:

> Adding Isuru explicitly to the discussion
>
> Good question. This is something that we need to properly evaluate the
> margin of integration between Custos and general Airavata data models. I
> agree that resources are not directly integrated with Custos but at some
> point, Resource Service has to talk to Custos to check for the permissions
> for accessing a particular resource. Based on current standing, I would say
> resource backend will still talk to Airavata backend class and  within
> Airavata backend, it will talk to Custos only to check for authorization.
>
> Isuru has been doing a lot of exploration in this area and he might have a
> better explanation than mine.
>
> Thanks
>
> On Sat, Apr 4, 2020 at 9:16 PM Aravind Ramalingam 
> wrote:
>
>> Hello,
>>
>> As per my current understanding wouldn't the Custos project only act as a
>> production set up for secret service? To store our API keys or SSH keys.
>>
>> Wouldn't we require something additional for the resource service where
>> we would store our resource information?
>>
>> Thank you
>> Aravind Ramalingam
>>
>> On Apr 4, 2020, at 21:07, Suresh Marru  wrote:
>>
>> Hi Akshay,
>>
>> For production deployments I suggest to integrate with Airavata Custos
>> services - https://github.com/apache/airavata-custos/tree/develop
>>
>> Please ask questions as you explore these.
>>
>> Suresh
>>
>> On Apr 4, 2020, at 7:29 PM, Rajvanshi, Akshay  wrote:
>>
>> Hello,
>>
>> Currently we did the local setup for the airavata-mft and copied a file
>> within our VM, but currently we have an implementation for resource and
>> service backend with file based backend. How do we go about implementing at
>> the production level ? Are we expected to add the support for the service
>> we plan to integrate with separately?
>>
>> Thanks
>>
>>
>>

-- 
Research Software Engineer
Indiana University, IN


Re: Question regarding Resource and Secret service Backend in Production

2020-04-04 Thread DImuthu Upeksha
Adding Isuru explicitly to the discussion

Good question. This is something that we need to properly evaluate the
margin of integration between Custos and general Airavata data models. I
agree that resources are not directly integrated with Custos but at some
point, Resource Service has to talk to Custos to check for the permissions
for accessing a particular resource. Based on current standing, I would say
resource backend will still talk to Airavata backend class and  within
Airavata backend, it will talk to Custos only to check for authorization.

Isuru has been doing a lot of exploration in this area and he might have a
better explanation than mine.

Thanks

On Sat, Apr 4, 2020 at 9:16 PM Aravind Ramalingam  wrote:

> Hello,
>
> As per my current understanding wouldn't the Custos project only act as a
> production set up for secret service? To store our API keys or SSH keys.
>
> Wouldn't we require something additional for the resource service where we
> would store our resource information?
>
> Thank you
> Aravind Ramalingam
>
> On Apr 4, 2020, at 21:07, Suresh Marru  wrote:
>
> Hi Akshay,
>
> For production deployments I suggest to integrate with Airavata Custos
> services - https://github.com/apache/airavata-custos/tree/develop
>
> Please ask questions as you explore these.
>
> Suresh
>
> On Apr 4, 2020, at 7:29 PM, Rajvanshi, Akshay  wrote:
>
> Hello,
>
> Currently we did the local setup for the airavata-mft and copied a file
> within our VM, but currently we have an implementation for resource and
> service backend with file based backend. How do we go about implementing at
> the production level ? Are we expected to add the support for the service
> we plan to integrate with separately?
>
> Thanks
>
>
>


Re: Question regarding Resource and Secret service Backend in Production

2020-04-04 Thread Aravind Ramalingam
Hello,

As per my current understanding wouldn't the Custos project only act as a 
production set up for secret service? To store our API keys or SSH keys.

Wouldn't we require something additional for the resource service where we 
would store our resource information?

Thank you
Aravind Ramalingam

> On Apr 4, 2020, at 21:07, Suresh Marru  wrote:
> 
> Hi Akshay,
> 
> For production deployments I suggest to integrate with Airavata Custos 
> services - https://github.com/apache/airavata-custos/tree/develop
> 
> Please ask questions as you explore these. 
> 
> Suresh
> 
>> On Apr 4, 2020, at 7:29 PM, Rajvanshi, Akshay  wrote:
>> 
>> Hello,
>>  
>> Currently we did the local setup for the airavata-mft and copied a file 
>> within our VM, but currently we have an implementation for resource and 
>> service backend with file based backend. How do we go about implementing at 
>> the production level ? Are we expected to add the support for the service we 
>> plan to integrate with separately?
>>  
>> Thanks
> 


Re: Question regarding Resource and Secret service Backend in Production

2020-04-04 Thread Suresh Marru
Hi Akshay,

For production deployments I suggest to integrate with Airavata Custos services 
- https://github.com/apache/airavata-custos/tree/develop 


Please ask questions as you explore these. 

Suresh

> On Apr 4, 2020, at 7:29 PM, Rajvanshi, Akshay  wrote:
> 
> Hello,
>  
> Currently we did the local setup for the airavata-mft and copied a file 
> within our VM, but currently we have an implementation for resource and 
> service backend with file based backend. How do we go about implementing at 
> the production level ? Are we expected to add the support for the service we 
> plan to integrate with separately?
>  
> Thanks



Question regarding Resource and Secret service Backend in Production

2020-04-04 Thread Rajvanshi, Akshay
Hello,

Currently we did the local setup for the airavata-mft and copied a file within 
our VM, but currently we have an implementation for resource and service 
backend with file based backend. How do we go about implementing at the 
production level ? Are we expected to add the support for the service we plan 
to integrate with separately?

Thanks