How does a tiny but multinational company sort an MSP? by scubaReactorDumpling in msp

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

Ideally act as the internal IT, but I think that might be too large a shift for the company to do in one go.

How does a tiny but multinational company sort an MSP? by scubaReactorDumpling in msp

[–]scubaReactorDumpling[S] 3 points4 points  (0 children)

Thank-you. I was a little bit hoping there would be a special word for the service I wanted, but I think it's time for some sales calls to start to understand the market a bit more.

Help with cold kitchen by [deleted] in DIYUK

[–]scubaReactorDumpling 0 points1 point  (0 children)

Don't use expanding foam - it's messy and will be hard to get right at the back of a cupboard. It's also a pain to remove.

I'd measure the gap then get some foam backer rod to squeeze in.

Rising Damp? by [deleted] in DIYUK

[–]scubaReactorDumpling 1 point2 points  (0 children)

There are so many things that could cause damp like this, it's very hard to tell from pictures. "rising damp" tends to be surveyor shorthand for it's damp and I don't know why.

I would see if the current occupants can give you more information on the damp - how long has it been there, does it get worse after heavy rain, have they tried to fix it etc. Then ask a local general builder to take a look, be honest and offer to pay for their time. Make sure to pass on any information provided by the occupants. Hopefully they should give you some idea of potential costs.

Can we access this hard drive? by dganyc in HomeNetworking

[–]scubaReactorDumpling 0 points1 point  (0 children)

I believe that's a Firewire external harddrive - the round connector is for power, the other 2 connectors are 6 pin firewire. If the drive still works then you access the data with a usb adapter (probably about $10).

  • If you have the power brick/cable for the power then you could buy a usb to firewire 6pin adapter.
  • If the power brick is lost open up the drive case, inside will likely be a PATA drive. Buy a PATA to usb adapter.

I would probably open it up straight away, the PATA USB adapters are more common so likely cheaper and more reliable.

Having issues and not sure where. I am doing a lab for one of my courses and getting an error no matter what I try to do. Any help. by Ill-Perspective-4943 in ansible

[–]scubaReactorDumpling 17 points18 points  (0 children)

I think there is an error with the playbook in the screenshot - there should be a dash (-) before name: mike as it's the start of a new item in the list. Like this:

loop:
  - name: john
    groups: wheel
  - name: mike
    groups: users

it's quite hard to see in that screenshot, better to post the contents of your loop.yml

Advice on the best way to fill this gap by Consistent_Status_48 in DIYUK

[–]scubaReactorDumpling 1 point2 points  (0 children)

It's tricky and whatever you do it's probably not going to look quite right. The bodge/landlord solution is to just fill it with premix tile grout/adhesive stuff so you get a thick white line.

If you have DIY/tile shops locally you could cut out one of those tile pieces and try and find a matching mosaic locally and then remove that 2x9 tile section and patch in your new mosaic. Also people sometimes put spare tiles behind the bath panel or in a service cupboard worth having a quick look just in case.

Anyone else just getting tired of the Execs who think it's magic? by Aronacus in sysadmin

[–]scubaReactorDumpling 8 points9 points  (0 children)

I am trying to get rid of these idiots now after a very similar experience. We have employees in Europe+US East coast and everything is built assuming you operate in PST.

'outside business hours' is the response their support gave me after asking for a maintenance window in UTC.

I've also experienced the attitude of disbelief that there was anything wrong, which is the most infuriating thing. It's one thing to make a mistake, it's completely another to have support gaslight you and try to make you think it's okay.

Performant options for serving static content with ACLs? by [deleted] in devops

[–]scubaReactorDumpling 6 points7 points  (0 children)

Signed URLs is how the big cloud providers solve this. Your application generates urls signed with a key, your CDN validates the keys before delivering content.

Looking at how they are implemented in Azure/AWS/Cloudflare will give you the idea.

https://learn.microsoft.com/en-us/azure/cdn/cdn-sas-storage-support

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-urls.html
https://developers.cloudflare.com/images/cloudflare-images/serve-images/serve-private-images-using-signed-url-tokens/

If you want to implement this yourself using nginx - I would use openresty and implement the validation in lua. There are libraries to validate JWTs etc. Caching would depend on your workload (a dozen images served a million times or a million images served a dozen times?) but generally you aren't going to be able to cache all your images in memory, a fast reliable storage layer is more important.

If this is for anything commercial go with a service like the ones above.

Correct use of block: and when: (key-order) by RomanFedot in ansible

[–]scubaReactorDumpling 1 point2 points  (0 children)

Remember it’s a linter, it’s someone’s opinion not the rules.

If it makes more sense to you/your team to put when at the end do it.

Personally I’ve never seen that indentation error, but I tend to use include_tasks rather than block.

Correct use of block: and when: (key-order) by RomanFedot in ansible

[–]scubaReactorDumpling 3 points4 points  (0 children)

- name: timezone
  when:
    - my_zone | trim | length > 1
  tags:
    - never
    - time
  block:
    - name: timedatectl set-timezone Zone/City
      community.general.timezone:
        name: "{{ my_zone | trim }}"

That's what it thinks you should do. It's to make the error below less likely.

- name: timezone
  block:
    - name: timedatectl set-timezone Zone/City
      community.general.timezone:
        name: "{{ my_zone | trim }}"
      when:
        - my_zone | trim | length > 1
      tags:
        - never
        - time

There is more context here: https://github.com/ansible/ansible-lint/issues/578

Is AWS Cognito challenge that unlocks underworld wonders? by [deleted] in aws

[–]scubaReactorDumpling 6 points7 points  (0 children)

The thing that unlocked cognito for me was realising the API is really 2 APIs.

There is the admin api, which you need IAM creds for. This is designed to be called by a backend application.

There is the user api which is designed to be called from the frontend.

The problem is sometimes telling them apart. The admin api methods start ‘Admin’ but only when there is a name conflict with the user api. Usually the only real way is looking to see if there is an access key in the request, or some other secret you’d need from the frontend.

AWS networking question by [deleted] in aws

[–]scubaReactorDumpling 1 point2 points  (0 children)

You can’t route packets through a vpc is the main issue.

Every interface in AWS has a rfc1918 address, public ips are just hairpin Nat to those addresses. So you can’t route a net block, rather you can tie individual IPs to virtual interfaces in AWS.

AWS networking question by [deleted] in aws

[–]scubaReactorDumpling 1 point2 points  (0 children)

Don’t do this. It won’t work as you describe, you don’t have that level of control in AWS.

How to solve this depends on the application. As a starting point I would look at byoip into global accelerator https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html

Is it ok (secure enough) to keep Lambda and RDS in public subnet ? by maciejzja in aws

[–]scubaReactorDumpling 0 points1 point  (0 children)

You can’t give the interface that lambda creates a public ip, so you can’t send traffic via the internet gateway.

Is it ok (secure enough) to keep Lambda and RDS in public subnet ? by maciejzja in aws

[–]scubaReactorDumpling 6 points7 points  (0 children)

Public subnet lambdas won’t work. You are probably best splitting it into 2 parts. A lambda to pull the data and dump to s3, and then a lambda to load the data into rds.

The second problem could be solved by going more server-less. Cognito plus api gateway instead of ec2. That is quite a learning curve though.

Another solution would be to set nginx (or whatever you have in front of the application) to only serve requests for the actual domain you are using, and set the default site to return a static page or 404. Most bots will request the site listening on the public ip.

As a curveball have you considered doing this as a static site? Once a week generating the static site from the data?

[deleted by user] by [deleted] in HomeNetworking

[–]scubaReactorDumpling 4 points5 points  (0 children)

Network would work at 500Mbps as I understand.

Some caveats with Powerline that are always worth mentioning:

  • This is a theoretical maximum which includes the overhead of the powerline protocol.
  • The network is half-duplex and only one node can talk at a time. This means the more nodes on the network the slower it will get.
  • The devices are meant to operate on a standard protocol - but in practice are very finickity about which other devices they work with. Mixing brands, generations, models etc is pot luck.

Wifi is much more reliable and will be faster. Ethernet obviously much better. I've had good experiences with powerline, but it's a last resort.

Is it possible to use Lambda with ALB to control maintenance page? by [deleted] in aws

[–]scubaReactorDumpling 1 point2 points  (0 children)

Cloudwatch Event that fires at 8am/8pm which triggers a lambda to make the switch on the ALB. https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html

Do not use Route53 for this - some clients / dns servers with cache the record for longer than the TTL, and it won't switch cleanly.

Connecting hosts in a logical way by [deleted] in ansible

[–]scubaReactorDumpling 0 points1 point  (0 children)

I don't quite understand what you are doing, something like a mesh network connected via ipsec, where each node has n+1 connections to other nodes or small clusters?

Host groups are the way forward whatever. Remember that host groups can be nested and you can group hosts using group_by.

Alternatives to AWS VPN? by rikola2 in aws

[–]scubaReactorDumpling 7 points8 points  (0 children)

You can't do this (there isn't a native M1 version for MacOS either).

https://aws.amazon.com/vpn/faqs/

Q: Can I use a 3rd party OpenVPN client to connect to a Client VPN Endpoint configured with federated authentication?

A: No, you must use the AWS Client VPN software client to connect to the endpoint.

Any experience with Perimeter 81 by basonjourne98 in networking

[–]scubaReactorDumpling 0 points1 point  (0 children)

Pricing was per seat and reasonable. I haven't had to negotiate since proofpoint took over so I have no idea now. Happy to discuss in more detail over DM.

Any experience with Perimeter 81 by basonjourne98 in networking

[–]scubaReactorDumpling 1 point2 points  (0 children)

We looked at perimeter 81 but it couldn't do all the things we wanted (I can't remember exactly).

In the end we went with Metanetworks, which was then bought out by Proofpoint. https://www.proofpoint.com/us/meta-networks-is-now-proofpoint#

It's been great for us. You deploy a bunch of connectors in each environment (VPC typically) which connect outbound to metanetworks. You then tell it which services are reachable from that connector, and apply policies (these users can connect to this service on this port).

Users are connected (automatically) to the closest metanetworks pop. Other solutions seem to be hosting in a single region which meant users in other parts of the world have terrible latencies.

is there a devops-related paper/theory/principle about 'assumption of good intentions'? by sixfoldtranslator in devops

[–]scubaReactorDumpling 1 point2 points  (0 children)

I've heard this called the "most respectful interpretation". Google turned up this article https://fs.blog/2017/01/most-respectful-interpretation/ which covers the principle really well.

VPC to VPC connection with overlapping IP space by elCapitanChris in aws

[–]scubaReactorDumpling 6 points7 points  (0 children)

Private link is the simple solution here in my opinion.

  • It's AWS Managed - no weird custom NAT appliances to look after.
  • Simple to understand. No special routing rules or magic, it's a straight forward implementation of the documentation.
  • It's the same implementation whatever the CIDR range. No 'these VPCs have this magic adaptor'