Search

Showing posts with label training. Show all posts
Showing posts with label training. Show all posts

Monday, 29 April 2019

AWS Secrets Manager python script

"Introduction to AWS Secrets Manager"
https://www.aws.training/learningobject/video?id=19441
The link above is to a 15 minute introductory video that covers the "AWS Secrets Manager" service.
The summary from this training and certification page is:
"In this course, we offer a brief overview of AWS Secrets Manager, highlighting the integration with Amazon Relational Database Service. The video discusses how this service can help manage secrets like OAuth tokens and application API keys, and concludes with a demonstration of how AWS Secrets Manager can generate and automatically rotate your secrets and passwords."
A similar python script that Bridgid used in her training and certification video is:
print "secrets manager test"
#!/usr/bin/python
import MySQLdb
import boto3
import json
#trying to connect to secrets manager
secretmanager = boto3.client('secretsmanager', endpoint_url='https://secretmanager.us-west-2.amazonaws.com')/
secret_id = 'db/test/DevelopmentDB' #this is the secret name within aws-SecretManager
db_user = json.loads(secretmanager.get_secret_value(SecretId=secret_id)['SecretString'])['username']
db_password = json.loads(secretmanager.get_secret_value(SecretId=secret_id)['SecretString'])['password']
db = MySQLdb.connect(host='secrets-manager--demo.abc123.us-east-1.rds.amazonaws.com', #db endpoint
            user=db_user, #db username
            passwd=db_password, #db username password
            db="secretManager") #db name
# you must create a cursor object, it will let you execute all the queries needed
cur = db.cursor()
cur.execute("select * from employee")
# print all the first cell of all the rows
print "Rows from the test database"
for row in cur.fetchall():
    print row[0]  # index 0 equates to the first field in the record
db.close()


There’s many youtube video’s covering AWS Secrets Manager:
https://www.youtube.com/user/AmazonWebServices/search?query=secrets+manager

Monday, 11 March 2019

AWS training links

Below are a short list of links to AWS training material that I’ve found extremely useful.
Comment Link
AWS Training / Learning library home page.
Free registration required.
Hundreds of modules to learn about the different AWS services.
An incredible resource which is amazingly free.
https://www.aws.training/

https://aws.amazon.com/events/awsome-day-2019/
AWS Cloud Practitioner Essentials course.
A great way to quickly learn the basics of the core services, through watching a series of structure videos with multiple choice questions at the end of each topic to enforce and consolidate your learning.
https://www.aws.training/learningobject/curriculum?id=27076
Qwiklabs.
A a great resource to learn cloud skills.  The courses provide sandbox environments to learn new skills.
There’s also free courses to learn to help learn some of the basics of the course services.
Qwiklabs covers both AWS and GCP.
https://www.qwiklabs.com/catalog?keywords=&cloud%5B%5D=AWS&format%5B%5D=any&level%5B%5D=any&duration%5B%5D=any&price%5B%5D=free&modality%5B%5D=any&language%5B%5D=any
AWS Monthly webinars.
These are a great resource to see what’s new, or gleam in depth insight into a particular service.\
These sessions change frequently as AWS services evolve, so also keep popping back to the page to see what’s new.
https://aws.amazon.com/about-aws/events/monthlywebinarseries/

ARCHIVE
https://aws.amazon.com/about-aws/events/monthlywebinarseries/archive/


AWS Documentation.
The trusty default go to when you need to reference something within AWS.
https://docs.aws.amazon.com/index.html#lang/en_us
AWS Youtube channelhttps://www.youtube.com/user/AmazonWebServices


AWS FREE TIER - when creating a new account -- does the free-tier time/window start as soon as the account is created, or as soon as a particular service is started?

The 12 Months starts from the account creation

https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc

Please see the FAQ - https://aws.amazon.com/free/free-tier-faqs/

As well as a link to an article discussing tracking free tier usage.

You are also able to leverage Cloudwatch and creating billing alarms

https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/tracking-free-tier-usage.html



Friday, 25 October 2013

Gym Jones 300 training fitness boards Week 12, session 3, day 7

Gym Jones 300 training fitness boards Week 12, session 3, day 7
26th July 2009 (20090726)
Week 12, Session 3, Day 7 - Push + Pull.


  • 25 Squats with 25% body weight
  • 40 Press ups
  • 25 Box jumps at 2 box-height.
  • 40 Bent over rows with 25% body weight
  • 1km Bike at level 20

  • 6rounds

    Gym Jones,300,training,fitness,Week 12 day 7

    Gym Jones 300 training fitness boards Week 12, Schedule

    Gym Jones 300 training fitness boards Week 12, Schedule
    23rd July 2009 (20090723)
    Week 12 Schedule.



    Click here for all the 300 training posts.
    Gym Jones,300,training,fitness,Week 12 day 4

    Monday, 27 May 2013

    Gym Jones 300 training fitness boards Week 8 Workout 2

    Gym Jones 300 training fitness boards Week 8 Workout 2
    24th June 2009 (20090624)
    Week 8, Workout 2 (day 3) - Tag team.
  • 400 meters on tradmill
  • Pull ups with 25% body weight
  • Press ups
  • Squats at 25%
  • 3 complete rounds - rotate / swop every time the person finishes on the treadmill.

    Click here for the next board, week 8, board 3
    Gym Jones,300,training,fitness,Week 8 Workout 2

    Thursday, 23 May 2013

    Gym Jones 300 training fitness boards Week 7 Workout 2

    Gym Jones 300 training fitness boards Week 7 Workout 2
    18th June 2009 (20090618)
    Week 7, Workout 2 (day 4) - Pull Up (PMF)

    1. 2 minutes of Arm rom at level 10.
    2. 2 minutes of Austrailian pull ups.
    3. 2 minutes of Lateral Raises with 4 kg.
    3 rounds.


    Click here for the next board - Week 8, workout 1
    Gym Jones,300,training,fitness,Week 7 Workout 2

    Wednesday, 22 May 2013

    Gym Jones 300 training fitness boards Week 7 Workout 1

    Gym Jones 300 training fitness boards Week 7 Workout 1
    16th June 2009 (20090616)
    Week 7, Workout 1 (day 2) - Power Endurance

    1. 8 minutes, Bent over row at 25% body weight.
    2. 6 minutes, Shoulder press at 25% body weight.
    3. 4 minutes of Press ups.
    4. 2 minutes of Chin ups.
    1 round.


    Click here for the next workout, Week 7, workout 2 (pull ups)
    Gym Jones,300,training,fitness,Week 7 Workout 1

    Saturday, 18 May 2013

    Gym Jones 300 training fitness boards Week 6 Workout 3

    Gym Jones 300 training fitness boards Week 6 Workout 3
    14th June 2009 (20090614)
    Week 6, Workout 3 (day 7) - Clean and Press / Strength (Push + Pull)

    1. Press ups, 20 repetitions
    2. Bent over row at 25% body weight, 20 repetitions
    3. Front raises at 25% body weight, 20 repetitions
    4. Shoulder press at 25% bofy weight, 20 repetitions
    Maximum rounds in 24 minutes.


    Click here for Week 7, workout 1
    Gym Jones,300,training,fitness,Week 6 Workout 3

    Wednesday, 15 May 2013

    Gym Jones 300 training fitness boards Week 6 Workout 2

    Gym Jones 300 training fitness boards Week 6 Workout 2
    12th June 2009 (20090609)
    Week 6, Workout 2 (day 5) - Clean and Press / Power Endurance

    1. 8 minutes, Bent over rows with 25% body weight
    2. 6 minutes, Squats, with 25% body weight
    3. 4 minutes of Press ups
    4. 2 minutes of Clean and Press
    1 round only.


    Click here for the next board, Week 6, workout 3 (day 7)
    Gym Jones,300,training,fitness,Week 6 Workout 2

    Saturday, 11 May 2013

    Gym Jones 300 training fitness boards Week 6 Workout 1

    Gym Jones 300 training fitness boards Week 6 Workout 1
    9th June 2009 (20090609)
    Week 6, Workout 1 (day 2) - Clean and Press.

    1. High pull @ 25% body weight for 8 minutes
    2. Snatch @ 25% body weight for 6 minutes
    3. Deadlift @ 50% body weight for 4 minutes
    4. Shoulder press @ 25% body weight for 2 minutes
    1 round only.


    Click here for the next board, Week 6, workout 2 (day 5)
    Gym Jones,300,training,fitness,Week 6 Workout 1

    Gym Jones 300 training fitness boards Week 5 Workout 4

    Gym Jones 300 training fitness boards Week 5 Workout 4
    5th June 2009 (20090605)
    Week 5, Workout 4 (day 5) - Power Endurance.

    1. Bench Press @ 25% body weight for 8 minutes
    2. Shoulder Press @ 25% body weight for 6 minutes
    3. Plank (Knees to elbows) for 4 minutes
    4. Floor wipers @ 50% body weight for 2 minutes
    1 round only.


    Click here for the next routine, Week 6, workout 1, Clean and Press !!!
    Gym Jones,300,training,fitness,Week 5 Workout 4

    Thursday, 2 May 2013

    Gym Jones 300 training fitness boards Week 5 Workout 2

    Gym Jones 300 training fitness boards Week 5 Workout 2
    3rd June 2009 (20090603) Week 5, Workout 2 (day 3) - Body Weight.

    This is a great ab workout.
    1. Plank Get-Ups, 25 reps
    2. Plank (Knees to elbows), 25 reps
    3. Crunches, 25 reps
    4. Leg raises, 25 reps
    Maximum rounds in 24 minutes.
    Record was set at 9 1/4 reps.


    Click here for Week5, workout 3
    Gym Jones,300,training,fitness,Week 5 Workout 2

    Tuesday, 30 April 2013

    Gym Jones 300 training fitness boards Week 5 Workout 1

    Gym Jones 300 training fitness boards Week 5 Workout 1
    2nd June 2009 (20090602) Week 5, Workout 1 (day 2)- Power Endurance.

    This hurt - I was away for a week with no training....
    1. Medi Ball Woodchops 5kg for 8 minutes.
    2. Russian Twists 5kg for 6 minutes.
    3. Medi Ball Crunches 5kg for 4 minutes.
    4. Medi Ball V Sits 5kg for 2 minutes.
    1 round only.



    Click here for 300 Week 5, workout 2's board> Gym Jones,300,training,fitness,Week 5 Workout 1

    Monday, 29 April 2013

    Gym Jones 300 training fitness boards Week 4 Workout 1

    Gym Jones 300 training fitness boards Week 4 Workout 1
    27th May 2009 (20090527) Week 4, Workout 1 (day 2)- Bodyweight.

    I missed a session the previous week due to there being no spaces / booking slots.
    1. 10 x Burpees
    2. 10 x Box jumps
    3. 10 x Slam ball burpees
    Maximum number of rounds.
    The record was 10 rounds in 13 minutes.

    Click to see next weeks board. Gym Jones,300,training,fitness,Week 4 Workout 1

    Friday, 26 April 2013

    Gym Jones 300 training fitness boards Week 3 Workout 2

    Gym Jones 300 training fitness boards Week 3 Workout 2
    25th May 2009 (20090525) Week 3, Workout 2 (Day 7) - CCIE

    1. Dand Baithak (Hindu press up / squat) x 100
    2. Shoulder press @25% x 50
    3. Front Raise @25% x 50
    4. Press ups x 50
    2 rounds, in the fastest time. (this was 24 minutes, 18 seconds by the group)

    Oh - CCIE stands for "compound complex isolation exhaustion" !!!

    Click here for the board for Week 4, Workout 1.
    Gym Jones,300,training,fitness,Week 3 Workout 2

    Thursday, 25 April 2013

    Gym Jones 300 training fitness boards Week 3 Workout 1

    Gym Jones 300 training fitness boards Week 3 Workout 1
    21th May 2009 (20090521) Week 3, Workout 1 - Press up / Power Endurance

    1. 8 minutes Deadlift @50% of body weight
    2. 6 minutes Snatch @25% of body weight
    3. 4 minutes Squats @25% of body weight
    4. 2 minutes Jump Squats
    1 round only.

    Click here for the board for Week 3, Workout 2.
    Gym Jones,300,training,fitness,Week 3 Workout 1

    Wednesday, 24 April 2013

    Gym Jones 300 training fitness boards Week 2 Workout 3

    Gym Jones 300 training fitness boards Week 2 Workout 3
    17th May 2009 (20090517) Week 2, Workout 3 - Deadlift / Power Endurance

    Another day smashing my legs :/

    1. 8 minutes of Deadlift with 50% body weight.
    2. 6 minutes of Snatch with 25% body weight.
    3. 4 minutes of Squats with 25% body weight.
    4. 2 minutes of Jumping Squats - no weights (only using own body weight).

    1 round only.
    Click here for the board for Week 3, Workout 1.
    Gym Jones,300,training,fitness,Week 2 Workout 3

    Tuesday, 23 April 2013

    Gym Jones 300 training fitness boards Week 2 Workout 2

    Gym Jones 300 training fitness boards Week 2 Workout 2
    16th May 2009 (20090516) Week 2, Workout 2 - Deadlift / Strength

    Is it just me, or are "Climbers Crawls" the most boring and pointless exercise ever created?

    Click here for the board for Week 2, Workout 3
    Gym Jones,300,training,fitness,Week 1 Workout 2

    Monday, 22 April 2013

    Gym Jones 300 training fitness boards Week 2 Workout 1

    Gym Jones 300 training fitness boards Week 2 Workout 1
    12th May 2009 (20090512) Week 2, Workout 1 - Deadlift

    More punishment for my legs - squats and running :(
    (also - my first introduction to an Australian pull-up)

    Click here for the board for Week 2, Workout 2
    Gym Jones,300,training,fitness,Week 2 Workout 1

    Saturday, 20 April 2013

    Gym Jones 300 training fitness boards Week 1 Workout 3

    Gym Jones 300 training fitness boards Week 1 Workout 3
    9th May 2009 (20090509) Week 1, Workout 3 (Day 5)- CCIE

    This isn't the third day of the 300, it's MY third day of training, which is day 5 of the program.

    Click here for the board for Week 2, Workout 1
    Gym Jones,300,training,fitness,Week 1 Day 3