General CloudSys tips

Eduroam Wifi restrictions

This network is really restricted, you cannot use non standard port, you will not be able to ssh your VMs, nor connect to your online apps on random port such as 8951. So, you just need to switch tot the Invite wifi instead !

use-hes-so-invite-wifi.png

Easy AWS instances listing

This is very simple Fish functions to list instances with the tag Group=D to quickly see if you still have running instances for your group. Please adapt this with your group letter or adapt the tags if necessary.

function instanceslist
    set group D
    aws ec2 describe-instances \
        --filters "Name=tag:Group,Values=$group" \
        --query "Reservations[].Instances[].{
            InstanceId: InstanceId,
            State: State.Name,
            Tags: Tags,
            PrivateIp: PrivateIpAddress,
            PublicIp: PublicIpAddress,
            IpOwnerId: NetworkInterfaces[0].Association.IpOwnerId,
            SecurityGroups: SecurityGroups
        }"
end