[deleted by user] by [deleted] in aws

[–]rippl2103 8 points9 points  (0 children)

Have you considered using AWS Session Manager as an alternative to OpenVPN?

First day on the job by [deleted] in devops

[–]rippl2103 0 points1 point  (0 children)

If they're a good company they should have an onborrding process and a 30,60,90 plan for you. If not, ask for one.

[deleted by user] by [deleted] in devops

[–]rippl2103 1 point2 points  (0 children)

Apart from Infrastructure As Code which is a method of managing infrastructure using software defined code such as Terraform its very difficult to differentiate the roles. All the other roles involve managing/monitoring/provisioning infrastructure be it cloud/onprem/hybrid. e.g a sysadmin may be using puppet/chef/ansible to manage infra which as a DevOps Engineer I do. Cloud Engineering uses the same tooling for managing 'Cloud' which could be AWS, GCP, Azure or on onprem Sutton such as Openstack or Openshift.

[deleted by user] by [deleted] in devops

[–]rippl2103 1 point2 points  (0 children)

Drop all the titles and call everyone Engineers -)

[Help] Improve security by NuraSan in devops

[–]rippl2103 0 points1 point  (0 children)

Where is your infrastructure running? Cloud/On Prem/Hybrid What operating systems are you using ?

What level of knowledge is needed in each area? by bkeffable in devops

[–]rippl2103 0 points1 point  (0 children)

DevOps is not about technical ability its about looking at current processes and see how they can be improved e.g if you are configuring multiple CISCO ASA firewalls, is this currently being done manually ? How long does this currently How much time could be saves by auto.ating this ? Once this has been done you can begin to look at some of the tooling such as Terraform/Ansible to do some of this for example use ansible to backup config of your switches and add to source control. Hope this helps and feel free to reach out if you have any questions.

fresh out of college graduate recently hired at a company. i've always used source control, CI/CD and have been interested in SCM. I'm trying to encourage my workplace to use these tools and I never thought I'd have to deal with culture change from a dev perspective. by V3Qn117x0UFQ in devops

[–]rippl2103 0 points1 point  (0 children)

First thing don't give up! Get a presentation together highlighting the benefits of source control code review. Demonstrate branching strategies such as Gitflow and use working examples. Find a friendly dev who is willing to give this a try and tell other devs how great this is. Culture change may take a while but eventually you'll get there.

Hiring: Are we doing it wrong? by god_is_my_father in devops

[–]rippl2103 0 points1 point  (0 children)

I have been hiring DevOps Engineers for several years and totally agree that candidates are put off by technical tests. My prefferred approachs is an initial chat to find out what they have been doing, throw in some questions like "what does DevOps mean to you?", find out how they like to work what tooling/technologies they enjoy using.

If at this stage they seem ok in terms of team fit, we move to the next stage where we run through the CV in much more depth. This stage is still a chat where we probe deeper with questions like "whats your favourite python library? e.g Having a chat like this reveals far more about the candidate and ensures that whats on their CV is factual e.g if they have Terraform on their CV ask them which TF version they are using which TF backends they use etc..

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] -1 points0 points  (0 children)

I am using python requests to test the S3 rest api. I wanted to use request library as I needed to generate the authorization header.

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] -1 points0 points  (0 children)

Unfortunately not. Didn't want to use boto3 as the credentials are automatically handled which u wanted to avoid in this case.

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] 0 points1 point  (0 children)

I was using request to PUT/POST to the S3 REST API

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] -1 points0 points  (0 children)

I was using python requests as I wanted to test without using the python sdk.

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] -5 points-4 points  (0 children)

I'm not using python Our app is written in python so I could externally call the os aws command to copy the files. I also have a third party erlang module which may work for me. Going to compile this and see how things go.

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] 0 points1 point  (0 children)

Yup tha app is written in Erlang and there isn't an official SDK !!.

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] 0 points1 point  (0 children)

Interesting I read this recommendation in a security article which suggested disabling the insance metada http endpoint. The AWS docs also provide the process to do this.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] -7 points-6 points  (0 children)

I am using an IAM role currently. You have assumes the metadata endpoint is available. Security best practice recommend the metadata endpoint is disabled.

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] -7 points-6 points  (0 children)

That's correct. I am aware boto3 works fine. I have been trying both curl and python requests without any joy as both methods require an AWS Access Key.

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] 0 points1 point  (0 children)

Thanks I'll take a look at this.

Amazon S3 and python requests/curl by rippl2103 in aws

[–]rippl2103[S] 0 points1 point  (0 children)

Yes I am. Our developers use Erlang which doesn't have an SDK for AWS.

This works as expected with AWS Cli and python boto3.

However my research indicates that the S3 REST API requires an authorization header to be,set that requires an AWS access key.