| Runtime Versions | |||
|---|---|---|---|
| Type | Versions | AWS SDK | Operating System |
| Node.js | nodejs10.x | (JavaScript) 2.712.0 | Amazon Linux 2 |
| nodejs12.x | (JavaScript) 2.712.0 | Amazon Linux 2 | |
| Java | java11 | (JDK) amazon-corretto-11 | Amazon Linux 2 |
| java8.a12 | (JDK) amazon-corretto-8 | Amazon Linux 2 | |
| java8 | (JDK) java-1.8.0-openjdk | Amazon Linux | |
| Python | python3.8 | (Python) boto3-1.14.40 botocore-1.17.40 | Amazon Linux 2 |
| python3.7 | (Python) boto3-1.14.40 botocore-1.17.40 | Amazon Linux | |
| python3.6 | (Python) boto3-1.14.40 botocore-1.17.40 | Amazon Linux | |
| python2.7 | (Python) boto3-1.14.40 botocore-1.17.40 | Amazon Linux | |
| Ruby | ruby2.7 | (Ruby) 3.0.3 | Amazon Linux 2 |
| ruby2.5 | (Ruby) 3.0.3 | Amazon Linux | |
| .NET Core | dotnetcore3.1 | -- | Amazon Linux 2 |
| dotnetcore2.1 | -- | Amazon Linux | |
| Go | go1.x | -- | Amazon Linux |
| Custom Runtime | provided.al2 | -- | Amazon Linux 2 |
| provided | -- | Amazon Linux |
| Available Operating System | |||
|---|---|---|---|
| Type | Image | Kernel | |
| Amazon Linux | amzn-ami-hvm-2<IP_ADDRESS>81129-x86_64-gp2 | 4.14.171-105.231.amzn1.x86_64 | |
| Amazon Linux 2 | Custom | 4.14.165-102.205.amzn2.x86_64 |
| Settings | Limits | ||
|---|---|---|
| Description | Settings | Limits | Explained | Can be increased |
| Writable Path & Space | /tmp/ 512 MB | -- |
| Default Memory & Execution Time | 128 MB Memory 3 Second Timeout |
-- |
| Max Memory & Execution Time | 3008 MB Memory (64 MB increments) 15 Minutes Timeout |
-- |
| Number of processes and threads (Total) | 1024 | -- |
| Number of File descriptors (Total) | 1024 | -- |
| Maximum deployment package size |
50 MB (zipped, direct upload) 250 MB (unzipped, including layers) |
-- |
| Maximum deployment package size for console editor | 3 MB | -- |
| Total size of deployment package per region | 75 GB | Can be increased upto Terabytes |
| Maximum size of environment variables set | 4 KB | -- |
| Maximum function Layers | 5 layers | -- |
| Environment variables size | 4 KB | -- |
| Maximum test events (Console editor) | 10 | -- |
| Invocation payload Limit (request and response) | 6 MB (synchronous) 256 KB (asynchronous) |
-- |
| Elastic network interpaces per VPC | 250 | Can be increased upto Hundreds |
| Lambda Destinations |
|
Can be increased upto Hundreds |
| Monitoring tools |
|
-- |
| VPC |
|
-- |
| Concurrency |
| Can be increased upto Hundreds of thousands |
| DLQ (Dead Letter Queue) |
| -- |
| Throttle |
| -- |
| File system |
| -- |
| State machines |
| -- |
| Database proxies |
| -- |
| Execution | Invoke | Tweaks | |
|---|---|
| A Lambda can invoke another Lambda | Yes |
| A Lambda in one region can invoke another lambda in other region | Yes |
| A Lambda can invoke same Lambda | Yes |
| Exceed 15 minutes execution time | Yes (Can Tweak around) |
| How to exceed 5 minutes execution time | Self-Invoke , SNS, SQS |
| Asynchronous Execution | Yes (Async Exec) |
| Invoke same Lamba with different version | Yes |
| Setting Lambda Invoke Max Retry attempt to 0 | Yes |
| Execution Role (Common Execution Role Available) | |
|---|---|
| AWSLambdaBasicExecutionRole | Grants permissions only for the Amazon CloudWatch Logs actions to write logs. |
| AWSLambdaKinesisExecutionRole | Grants permissions for Amazon Kinesis Streams actions, and CloudWatch Logs actions. |
| AWSLambdaDynamoDBExecutionRole | Grants permissions for DynamoDB streams actions and CloudWatch Logs actions. |
| AWSLambdaVPCAccessExecutionRole | Grants permissions for Amazon Elastic Compute Cloud (Amazon EC2) actions to manage elastic network interfaces (ENIs). |
| Execution | Invoke | Tweaks | |
|---|---|
| A Lambda can invoke another Lambda | Yes |
| A Lambda in one region can invoke another lambda in other region | Yes |
| A Lambda can invoke same Lambda | Yes |
| Exceed 5 minutes execution time | Yes (Can Tweak around) |
| How to exceed 5 minutes execution time | Self-Invoke , SNS, SQS |
| Asynchronous Execution | Yes (Async Exec) |
| Invoke same Lamba with different version | Yes |
| Invoke Request Max Payload Size (RequestResponse/synrchronous invocation) | 6 MB |
| Invoke Request Max Payload Size (Event/asynchronous invocation) | 128 KB |
import boto3, botocore
config = botocore.config.Config(connect_timeout=300, read_timeout=300)
invokeLam = boto3.client('lambda', region_name='us-east-1', config=config)
invokeLam.meta.events._unique_id_handlers['retry-config-lambda']['handler']._checker.__dict__['_max_attempts'] = 0
| Triggers | Description | Requirement |
|---|---|---|
| API Gateway | Trigger AWS Lambda function over HTTPS | API Endpoint name API Endpoint Deployment Stage Security Role |
| AWS IoT | Trigger AWS Lambda for performing specific action by mapping your AWS IoT Dash Button (Cloud Programmable Dash Button) | DSN (Device Serial Number) |
| Alexa Skill Kit | Trigger AWS Lambda to build services that give new skills to Alexa | -- |
| Alexa Smart Home | Trigger AWS Lambda with desired skill | Application ID (Skill) |
| CloudFront | Trigger AWS Lambda based on difference CloudFront event. | CloudFront distribution, Cache behaviour, CloudFront event (Origin request/response, Viewer request/response). To set CloudFront trigger, one need to publish the version of Lambda. Limitations: Runtime is limited to Node.js 6.10 /tmp/ space is not available Environment variables, DLQ & Amazon VPC's cannot be used |
| CloudWatch Events | Trigger AWS Lambda on desired time interval (rate(1 day)) or on the state change of EC2, RDS, S3, Health. | Rule based on either Event Pattern (time interval) Schedule Expression (Auto Scaling on events like Instance launch and terminate AWS API call via CloudTrail |
| CloudWatch Logs | Trigger AWS Lambda based on the CloudWatch Logs | Log Group Name |
| Code Commit | Trigger AWS Lambda based on the AWS CodeCommit version control system | Repository Name Event Type |
| Cognito Sync Trigger | Trigger AWS Lambda in response to event, each time the dataset is synchronized | Cognito Identity Pool dataset |
| DynamoDB | Trigger AWS Lambda whenever the DynomoDB table is updated | DynamoDB Table name Batch Size(The largest number of records that AWS Lambda will retrieve from your table at the time of invoking your function. Your function receives an event with all the retrieved records) |
| Kinesis | Trigger AWS Lambda whenever the Kinesis stream is updated | Kinesis Stream Batch Size |
| S3 | Trigger AWS Lambda in response to file dropped in S3 bucket | Bucket Name Event Type (Object Removed, Object Created) |
| SNS | Trigger AWS Lambda whenever the message is published to Amazon SNS Topic | SNS Topic |
| Troubleshooting | ||
|---|---|---|
| Error | Possible Reason | Solution |
|
File "/var/task/lambda_function.py", line 2, in lambda_handler return event['demoevent'] KeyError: 'demoevent' |
Event does not have the key 'demoevent' or either misspelled |
Make sure the event is getting the desired key if it is receiving the event from any trigger. Or if the not outside event is passed than check for misspell. Or check the event list by printing event. |
| botocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the GetParameters operation: User: arn:aws:dummy::1234:assumed-role/role/ is not authorized to perform: ssm:GetParameters on resource: arn:aws:ssm:dummy | Lacks Permission to access | Assign appropriate permission for accessibility |
| ImportError: Missing required dependencies [‘module'] | Dependent module is missing | Install/Upload the required module |
| sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "host.dummy.region.rds.amazonaws.com" to address: Name or service not known | RDS Host is unavailable | Make sure the RDS instance is up and running. Double check the RDS hostname |
| [Errno 32] Broken pipe | Connection is lost (Either from your side or may be some problem from AWS) While invoking another Lambda, if the payload size exceed the mentioned limit |
Make sure if you are passing the payload of right size. Check for the connection. |
| Unable to import module ‘lambda_function/index’ No module named ‘lambda_function' | Handler configuration is not matching the main file name | Update the handler configuration as per your filename.function_name |
| Task timed out after 3.00/300 seconds | Lamda execution is exceeding the desired time limit | If task timeout is less than 300 seconds than it is required to increase the Timeout in configuration. If it is 300 seconds than one can tweak around to go beyound 5 minutes. |
| OperationalError: (psycopg2.OperationalError) terminating connection due to administrator command SSL connection has been closed unexpectedly | RDS/Database System has been rebooted. In a typical web application using an ORM (SQLAlchemy) Session, the above condition would correspond to a single request failing with a 500 error, then the web application continuing normally beyond that. Hence the approach is “optimistic” in that frequent database restarts are not anticipated. |
Give second try |
| Error code 429 | The function is throttled. Basically the reserved concurrency is set to zero or it have reach the account level throttle. (The function that is invoked synchronous and if it is throttled then it will return 429 error. If the lambda function is invoked asynchronously and if it is throttled then it will retry the throttled event for upto 6 hours.) |
Check for the reserved concurrency limit or throttle status for the individual function. Or check for the account level concurrent execution limit |
It add mention permission to the Lambda function
Syntax
add-permission
--function-name
--statement-id
--action
--principal
[--source-arn ]
[--source-account ]
[--event-source-token ]
[--qualifier ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
add-permission --function-name functionName --statement-id role-statement-id --action lambda:CreateFunction --principal s3.amazonaws.com
It creates alias for the given Lambda function name
Syntax
create-alias
--function-name
--name
--function-version
[--description ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
create-alias --function-name functionName --name fliasName --function-version version
It identify event-source from Amazon Kinesis stream or an Amazon DynamoDB stream
create-event-source-mapping
--event-source-arn
--function-name
[--enabled | --no-enabled]
[--batch-size ]
--starting-position
[--starting-position-timestamp ]
[--cli-input-json ]
[--generate-cli-skeleton ]
code>
Example
create-event-source-mapping --event-source-arn arn:aws:kinesis:us-west-1:1111 --function-name functionName --starting-position LATEST
Create Function
It creates the new function
Syntax
create-function
--function-name
--runtime
--role
--handler
[--code ]
[--description ]
[--timeout ]
[--memory-size ]
[--publish | --no-publish]
[--vpc-config ]
[--dead-letter-config ]
[--environment ]
[--kms-key-arn ]
[--tracing-config ]
[--tags ]
[--zip-file ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
create-function --function-name functionName --runtime python3.6 --role arn:aws:iam::account-id:role/lambda_basic_execution
--handler main.handler
Delete Alias
It deletes the alias
Syntax
delete-alias
--function-name
--name
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
delete-alias --function-name functionName --name aliasName
Delete Event Source Mapping
It deletes the event source mapping
Syntax
delete-event-source-mapping
--uuid
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
delete-event-source-mapping --uuid 12345kxodurf3443
Delete Function
It will delete the function and all the associated settings
Syntax
delete-function
--function-name
[--qualifier ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
delete-function --function-name FunctionName
Get Account Settings
It will fetch the user’s account settings
Syntax
get-account-settings
[--cli-input-json ]
[--generate-cli-skeleton ]
Get Alias
It returns the desired alias information like description, ARN
Syntax
get-alias
--function-name
--name
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
get-alias --function-name functionName --name aliasName
Get Event Source Mapping
It returns the config information for the desired event source mapping
Syntax
get-event-source-mapping
--uuid
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
get-event-source-mapping --uuid 12345kxodurf3443
Get Function
It returns the Lambda Function information
Syntax
get-function
--function-name
[--qualifier ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
get-function --function-name functionName
Get Function Configuration
It returns the Lambda function configuration
Syntax
get-function-configuration
--function-name
[--qualifier ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
get-function-configuration --function-name functionName
Get Policy
It return the linked policy with Lambda function
Syntax
get-policy
--function-name
[--qualifier ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
get-policy --function-name functionName
Invoke
It invoke the mention Lambda function name
Syntax
invoke
--function-name
[--invocation-type ]
[--log-type ]
[--client-context ]
[--payload ]
[--qualifier ]
Example
invoke --function-name functionName
List Aliases
It return all the aliases that is created for Lambda function
Syntax
list-aliases
--function-name
[--function-version ]
[--marker ]
[--max-items ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
list-aliases --function-name functionName
List Event Source Mappings
It return all the list event source mappings that is created with create-event-source-mapping
Syntax
list-event-source-mappings
[--event-source-arn ]
[--function-name ]
[--max-items ]
[--cli-input-json ]
[--starting-token ]
[--page-size ]
[--generate-cli-skeleton ]
Example
list-event-source-mappings --event-source-arn arn:aws:arn --function-name functionName
List Functions
It return all the Lambda function
Syntax
list-functions
[--master-region ]
[--function-version ]
[--max-items ]
[--cli-input-json ]
[--starting-token ]
[--page-size ]
[--generate-cli-skeleton ]
Example
list-functions --master-region us-west-1 --function-version ALL
List Tags
It return the list of tags that are assigned to the Lambda function
Syntax
list-tags
--resource
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
list-tags --resource arn:aws:function
List Versions by functions
It return all the versions of the desired Lambda function
Syntax
list-versions-by-function
--function-name
[--marker ]
[--max-items ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
list-versions-by-function --function-name functionName
Publish Version
It publish the version of the Lambda function from $LATEST snapshot
Syntax
publish-version
--function-name
[--code-sha-256 ]
[--description ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
publish-version --function-name functionName
Remove Permission
It remove the single permission from the policy that is linked with the Lambda function
Syntax
remove-permission
--function-name
--statement-id
[--qualifier ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
remove-permission --function-name functionName --statement-id role-statement-id
Tag Resource
It creates the tags for the lambda function in the form of key-value pair
Syntax
tag-resource
--resource
--tags
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
tag-resource --resource arn:aws:arn --tags {‘key’: ‘pair’}
Untag Resource
It remove tags from the Lambda function
Syntax
untag-resource
--resource
--tag-keys
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
untag-resource --resource arn:aws:complete --tag-keys [‘key1’, ‘key2’]
Update Alias
It update the alias name of the desired lambda function
Syntax
update-alias
--function-name
--name
[--function-version ]
[--description ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
update-alias --function-name functionName --name aliasName
Update Event Source Mapping
It updates the event source mapping incase you want to change the existing parameters
Syntax
update-event-source-mapping
--uuid
[--function-name ]
[--enabled | --no-enabled]
[--batch-size ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
update-event-source-mapping --uuid 12345kxodurf3443
Update Function Code
It updates the code of the desired Lambda function
Syntax
update-function-code
--function-name
[--zip-file ]
[--s3-bucket ]
[--s3-key ]
[--s3-object-version ]
[--publish | --no-publish]
[--dry-run | --no-dry-run]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
update-function-code --function-name functionName
Update Function Configuration
It updates the configuration of the desired Lambda function
Syntax
update-function-configuration
--function-name
[--role ]
[--handler ]
[--description ]
[--timeout ]
[--memory-size ]
[--vpc-config ]
[--environment ]
[--runtime ]
[--dead-letter-config ]
[--kms-key-arn ]
[--tracing-config ]
[--cli-input-json ]
[--generate-cli-skeleton ]
Example
update-function-configuration --function-name functionName
References
For queries or issues, feel free to contact or open an issue


We won’t enrol on IPPIS, ASUU insists
by Olaleye AlukoOlaleye Aluko, Abuja
The Academic Staff Union of Universities insists its members will not enrol on the Integrated Payroll and Personnel Information System.
The body said on Monday it would decide its next action should the Federal Government decide to stop the salaries of its members.
The ASUU National Vice-President, Prof Emmanuel Osodeke, stated these during an interview at the ASUU Heroes’ Day celebration in Abuja.
The union met with the National Assembly on October 28 to make its known on the IPPIS.
When asked what they would do if their salaries were stopped for non-compliance with IPPIS, Osodeke said they “will know what to do when we get there”.
He added, “We have made our position known to the government and they said they would get back to us. So, we are expecting their reaction. “Our position is that ASUU will not join the IPPIS the way it is. We have maintained that there is nowhere in the world where the salaries and wages of university workers are paid from the central.
“Each university has a governing council and it is the council which employes all the workers, not the civil service commission. Therefore, the council must determine the mode of payment of the workers, not the Office of the Accountant General (of the Federation).
“On if our salaries are stopped, when we get there, we will know what to do.”
On sex-for-marks in some universities, the ASUU chief said some lecturers had been sacked and others jailed for sexual misconduct, noting that the union would not tolerate such behaviour.
Copyright PUNCH.
All rights reserved. This material, and other digital content on this website, may not be reproduced, published, broadcast, rewritten or redistributed in whole or in part without prior express written permission from PUNCH.
Contact: theeditor@punchng.com


A plain text version of this document is available here.
The letter is "B"
1. Inventor of a system of printing and writing for the blind.
Louis BRAILLE
2. Born Siddhartha Gautama, he founded a world religion in India.
BUDDHA
3. This prison in Paris was stormed in 1789.
the BASTILLE
4. Peninsula which contains Yugoslavia, Bulgaria, and Greece.
BALKAN
5. A tropical grass, a favorite food of pandas.
BAMBOO
6. The American composer of "Candide" and "West Side Story".
Leonard BERNSTEIN
7. Character created by Bob Kane, his enemies include the Riddler and the Joker.
BATMAN
8. The name of Teddy Roosevelt's Progressive party in the election of 1912.
BULL MOOSE
HOMER
2. FLIMFLAM, FLAMBOYANT, FLIPPANT -- Which word means a deception?
FLIMFLAM
3. Thales, Democritus, Pythagoras -- Which of these ancient philosophers believed the world to be made of water?
THALES
4. (two part question) The same year, 1892, saw the opening of what immigration facility in New York City, as well as the election of what man who became the only person to serve two nonconsecutive terms as President?
ELLIS ISLAND and Grover CLEVELAND
5. California, West Virginia, Maine -- Arrange these states in chronological order according to when they became states.
MAINE, CALIFORNIA, WEST VIRGINIA
6. "Abandon all hope ye who enter here." -- This warning is inscribed on the gates of Hell in "The Inferno", one section of what Italian author's Divine Comedy?
DANTE Aligheri
IVAN
2. GRANDILOQUENCE, GRATUITOUS, GRANDEUR. Which word means spledor?
GRANDEUR
3. Australia, Russia, Estonia -- Which of these countries does not have the color red in its flag?
ESTONIA
4. (two part question) The same year, 1793, saw the execution of what French king, and the development of the cotton gin by what American inventor?
LOUIS XVI and Eli WHITNEY
5. Arizona, Ohio, Kentucky -- Arrange these states in chronological order according to when they became states.
KENTUCKY, OHIO, ARIZONA
6. "Sing to me, O Muse, of the wrath of Achilles." -- So begins what Homeric epic about the Trojan War?
The ILIAD
Category Round: Given the works of classical music, name the composer.
"Name the composer of..."
1. Tosca, La Boheme, Madame Butterfly
Giacomo PUCCINI
2. Boris Gudonov, Pictures at an Exhibition, Night on Bald Mountain
Modest MOUSSORGSKY
3. Fidelio, the Moonlight Sonata, the Pastoral Symphony
Ludwig van BEETHOVEN
4. Il Trovatore, La Traviata, Aida
Giuseppi VERDI
5. In the Steppes of Central Asia, Prince Igor
Alexander BORODIN
6. Swan Lake, the Nutcracker, the 1812 Overture
Peter TCHAIKOVSKY
7. Cosi Fan Tutti, Don Giovanni, The Magic Flute
Wolfgang MOZART
8. The Coffee Cantata, the Art of the Fugue, the Brandenburg Concertos
J.S. BACH
9. Petrouchka, the Firebird, the Rite of Spring
Igor STRAVINSKI
10. Love for Three Oranges, Lieutenant Kije, Peter and the Wolf
Sergei PROKOFIEV
POETRY
2. One of professional sports' newest teams is the National Hockey League's "Mighty Ducks", who are owned by Disney and got their team name from a Disney film. The team is based in what California city, which, not by coincidence, is also the location of Disneyland?
ANAHEIM
3. From 1928 to 1939, King Zog was the ruler of what small Balkan country whose capital is Tirane?
ALBANIA
4. Solve for x in the given figure (a diagram is shown, perhaps a triangle or polygon. This question is very similar to those found on It's Academic)
5. L. L. Zamenhof is the inventor of what modern man-made language, which was introduced in 1887 as a language with relatively simple grammatical rules and words derived mainly from Latin and Greek?
ESPERANTO
6. Choice: Which of the following is not a measure of length? Hectare, furlong, or light-year.
HECTARE
7. This man was a member of the Soviet Union's inner circle and was head of the Red Army. He lost a power struggle with Stalin, fled Russia, and was killed in Mexico in 1940.
LEON TROTSKY
8. "I will not retreat a single inch -- and I will be heard." These words were written in 1831 in the first issue of "The Liberator", an abolitionist paper published by what American journalist?
William Lloyd GARRISON
DODO
2. He was one of the chief negotiators that managed to free the hostages from Iran after 444 days of captivity in the early 1980's. These days, he is busy dealing with the problems of Russia, South Africa, Israel, and other hotspots of the world. Who is this 1993 Secretary of State?
Warren CHRISTOPHER
3. We all know that Saddam hussein is the ruler of Iraq, but King Hussein is the ruler of what other Middle Eastern nation, who capital is Amman?
JORDAN
4. What is the slope of the line given by the equation shown? (a visual with the equation on it is presented)
2/3
5. Muslims refrain from food, drink, and other bodily pleasures between sunrise and sunset during what ninth month of the Islamis calendar?
RAMADAN
6. Choice: Which of the following scientists helped resurrect the wave theory of light by demonstrating optical interference in a famous two-slit experiment? Liebniz, Priestley, or Young?
YOUNG
7. "The Persistence of Memory", a painting featuring melting clocks, is one of the many surrealistic works by what Spanish painter with a long handlebar moustache?
Salvadore DALI
8. The phrase "Rum, Romanism, and Rebellion" spelled doom for the 1884 presidential campaign of what man, a senator from Maine who ran unsuccessfully against Grover Cleveland and was known as the "Plumed Knight"?
James G. BLAINE
1. No football team has ever won three consecutive Super Bowls. What was the last baseball team to win three consecutive World Series?
THE OAKLAND ATHLETICS (1972-1974)
2. Nothing could harm him but the mistletoe. Unfortunately, Loki tricked his half-brother Hoder into killing him. Name this Norse god of beauty, goodness, light, and wisdom.
BALDER
3. Becky Sharp has been called the first "gold digger" of literature, crawling to gain social status and wealth. What author of "Henry Esmond", "Barry Lyndon" and "Vanity Fair" created her?
William Makepeace THACKERAY
4. It comes from the Greek words for "above the tongue". What do we call this flap of tissue that prevents food from entering the windpipe while swallowing occurs?
EPIGLOTTIS
5. "The Decline and Fall of the Roman Empire" was written by Edward Gibbon. For twenty points, name the German high school teacher who envisioned a revolt of "blood" and "race" in his "The Decline of the West".
Oswald SPENGLER
6. "Ecrasez l'infame" or "crush the infamous thing" was the motto of an 18th century French literary figure who was a friend of the Russian empress, Catherine the Great. Name him.
VOLTAIRE (Francois Marie Arouet)
7. Henry VIII's court painter was Hans Holbein the Younger and Francis I's court painter was Leonardo Da Vinci. But who made royal portraits for the Spanish monarch Charles IV?
Francisco GOYA
8. Dag Hammarskjold became UN Secretary General, Mt. Everest was first climed, and Stalin died. In what year did all these events occur?
1953
9. It is the story of a love triangle between a soldier, a toreador, and a flirtatious gypsy cigarette factory worker. What is this opera based on a Prosper Merimee book?
CARMEN
10. Indonesia, Thailand, the Philippines, or Vietnam -- which of these countries was never subjected to European colonial rule?
THAILAND
11. This physical constant is equal to 1.38 times 10 to the 23 joules per Kelvin, and it is often abbreviated by a lowercase "k". What is this number?
BOLTZMAN'S CONSTANT
12. He was apprenticed to the sorcerer Ulric before journeying to Ur-land in hopes of killing a dreaded monster. Name this "dragonslayer'' who shares his name with the ancient doctor who was Marcus Aurelius' court physician.
GALEN
13. Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogroves,
And the mome raths outgrabe.
This excerpt from Lewis Carroll's "Through the Looking-Glass" is representative of his fantastic poetry. What poem, renowned for its portmanteau words, did this excerpt come from ?
JABBERWOCKY
14. John Murphy, Frank Thompson, Harrison Williams, and Raymond Lederev were all nabbed for involvement in what criminal scandal?
ABSCAM
15. On the same day that John F. Kennedy was killed, two famous English writers also died. One was Aldous Huxley. The other was what author of "The Screwtape Letters" and "The Chronicles of Narnia"?
Clive S. LEWIS


Presidential Policies
Search policies:
Enter keywords to match the policy title or policy number (if any):
For a more specific search, use advanced search.
Policies accessed from this site are current and maintained by the University Policy Office.
Academic Personnel policies (the Academic Personnel Manual) are available from the Academic Personnel website. Regents' policies can be found on the Regents' Policy website.
Policy Resources
Quick links to policy FAQ's and other resources for the community


| PostgreSQL 9.0.10 Documentation | ||||
|---|---|---|---|---|
| Prev | Up | Chapter 18. Server Configuration | Next |
These parameters control server-wide statistics collection features. When statistics collection is enabled, the data that is produced can be accessed via the pg_stat and pg_statio family of system views. Refer to Chapter 27 for more information.
Enables the collection of information on the currently executing command of each session, along with the time when that command began execution. This parameter is on by default. Note that even when enabled, this information is not visible to all users, only to superusers and the user owning the session being reported on, so it should not represent a security risk. Only superusers can change this setting.
Specifies the number of bytes reserved to track the currently executing command for each active session, for the pg_stat_activity.current_query field. The default value is 1024. This parameter can only be set at server start.
Enables collection of statistics on database activity. This parameter is on by default, because the autovacuum daemon needs the collected information. Only superusers can change this setting.
Enables tracking of function call counts and time used. Specify pl to track only procedural-language functions, all to also track SQL and C language functions. The default is none, which disables function statistics tracking. Only superusers can change this setting.
Note: SQL-language functions that are simple enough to be "inlined" into the calling query will not be tracked, regardless of this setting.
Enables updating of the process title every time a new SQL command is received by the server. The process title is typically viewed by the ps command, or in Windows by using the Process Explorer. Only superusers can change this setting.
Sets the directory to store temporary statistics data in. This can be a path relative to the data directory or an absolute path. The default is pg_stat_tmp. Pointing this at a RAM-based file system will decrease physical I/O requirements and can lead to improved performance. This parameter can only be set in the postgresql.conf file or on the server command line.
For each query, output performance statistics of the respective
module to the server log. This is a crude profiling
instrument, similar to the Unix getrusage()
operating
system facility. log_statement_stats reports total
statement statistics, while the others report per-module statistics.
log_statement_stats cannot be enabled together with
any of the per-module options. All of these options are disabled by
default. Only superusers can change these settings.


Demo of dregexp
Check out View -> Developer -> Develope Tools -> Console
fn main() {let a=1+2*3*4;}
Reload grammar
Empty grammar
Step back
Step forward


THE SPY WHO LOVED ME A film review by James Berardinelli Copyright 1995 James Berardinelli
RATING (0 TO 10): 7.8
United Kingdom, 1977 Running Length: 2:05 MPAA Classification: PG (Sexual innuendo, violence) Theatrical Aspect Ratio: 2.35:1
Cast: Roger Moore, Barbara Bach, Curt Jurgens, Richard Kiel, Caroline Munro Director: Lewis Gilbert Producers: Albert Broccoli Screenplay: Richard Maibaum and Christopher Wood based on characters created by Ian Flemin Cinematography: Claude Renoir Music: Marvin Hamlisch U.S. Distributor: United Artists Pictures
Of Roger Moore's seven James Bond pictures, THE SPY WHO LOVED ME stands out as the best. Stripped of the extreme silliness of THE MAN WITH THE GOLDEN GUN and packed with style, action, and wit, THE SPY WHO LOVED ME ranks alongside the Connery Bonds as a memorable cinematic representation of Ian Fleming's superspy (although the screenplay is *not* based on Fleming's novel of the same title).
For the first time in three films, Roger Moore starts to unearth a personality for Bond, and the fatuousness which was to mar his later outings rarely asserts itself. This version of 007 is suave, sophisticated, and only a little flat. He's good with wry humor and one-liners, and seems reasonably capable as a "man of action." In a nutshell, Moore isn't Connery, but he recognizes this, and doesn't try to be what he can't.
As usual, Bond's chief nemesis is a megalomaniac. This time, his name is Stromberg (Curt Jurgens), and he's out to destroy the world to fulfill his dream of creating and populating an underwater city. The first part of his plan involves destroying the over-water civilization by a nuclear holocaust. To that end, he steals British and Soviet submarines with the intention of using their nuclear capacity against the superpowers. 007, along with his Russian counterpart, Major Anya Amasova, aka agent Triple-X (Barbara Bach), is dispatched to stop this. There are complications, however, because, although the USSR and England are cooperating on the mission, Anya has a personal grudge against Bond, and she makes it perfectly clear that she intends to kill him at the first favorable opportunity.
THE SPY WHO LOVED ME marks the first appearance of Jaws (Richard Kiel), who would prove to be 007's most dangerous and persistent adversary (he returns in MOONRAKER). So massive and powerful is Jaws that there's little Bond can do against him physically. He's the perfect supervillain, and it's great fun to see how 007 survives confrontations with the steel-toothed giant.
Barbara Bach proves to be a pleasant addition to the cast as the latest "Bond girl." Major Amasova is attractive, smart, sexy, and (of course) dangerous. Her repartee with Bond is scripted with the usual attention to double entendres and witty retorts (note especially the van exchange in the desert when Triple-X and 007 are trying to escape Jaws). There also seems to be slightly more tenderness in this relationship than is typical for Her Majesty's most promiscuous agent... but only a little. After his wife's death at the end of ON HER MAJESTY'S SECRET SERVICE, it's clear that Bond has no intention of ever again becoming involved in a serious romantic entanglement.
The second "Bond girl" of the film is Naomi, played by Caroline Munro. Her part is actually rather small--she shows up, looks good, utters a few lines of dialogue, then tries to kill 007. Jurgens is adequate as the villain. There's nothing remarkable about his performance except that he remains more restrained than the average Bond madman. Old friends like Lois Maxwell (Moneypenny), Bernard Lee (M), and Desmond Llewlyn (Q) are back.
The single most impressive moment in THE SPY WHO LOVED ME comes in the pre-credits sequence. Following a harrowing ski chase, Bond zips right off the edge of a cliff. Rick Sylvester was paid $30,000 to do this stunt, and it's worth the money, giving the film the kind of kick- start that no other opening has matched (before or after). It's the perfect lead-in to Carly Simon's rendition of "Nobody Does It Better", possibly the best-known of all the Bond themes. The rest of the film's action, directed by Lewis Gilbert (YOU ONLY LIVE TWICE), is as impressively staged.
THE SPY WHO LOVED ME has no shortage of gadgets. These include noxious cigarettes, ski pole projectiles, and, most impressive of all, a Lotus Esprit that swims rather than sinks. But such toys are only part of 007's appeal. Bond films attract audiences because they're solid fun--light, uncomplicated entertainment that requires no more from a viewer than that he or she sits back and enjoys. Despite the recycled plot, THE SPY WHO LOVED ME deserves its popularity as one of Bond's most engaging outings. Even those who swore off the films with Sean Connery's departure might consider checking this one out.
- James Berardinelli<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Turn it Up! Typer
WPM
100
CPM
100
Round
1
Time
0s
Click on the area below to start the game.
Loading...
←(Your cursor is here)
RESTART
Volume threshold:


connect_error) {
die("Connection failed: " . $conn->connect_error);
} else {
//echo "db is connected";
}
//session_start();
$user = $_SESSION['username'];
$sql = "SELECT id FROM userinfo WHERE username = '$user';";
$result = $conn->query($sql);
$row = $result->fetch_assoc();
$userid = $row["id"];
//search by answer date
echo "
";
?>


While the rain brought by Typhoon Melor (known locally as Nona), Tropical Depression Onyok and the northeast monsoon brought much-needed respite from the drying effects of El Niño, large areas of the Philippines are expected to suffer drought in the coming months. Small-scale farmers in southern Mindanao are already suffering a big drop in crop production, and fear that El Niño might push them further into debt.
Region XII of the Philippines, composed of South Cotabato, North Cotabato, Sultan Kudarat and Sarangani provinces, is considered to be the breadbasket of Mindanao. Mindanao accounts for over 40 per cent of the country’s food requirements and contributes more than 30 per cent to the national food trade according to FAO. Farmers here produce staple crops including rice and corn and cultivate large plantations of cash crops such as bananas and pineapples.
The prevailing El Niño has led to dry conditions in 2015. Sarangani province in particular recorded below-normal (40-80 per cent of average) rainfall for seven months and way-below-normal (less than 40 per cent of average) rainfall for three months, according to the Philippine Atmospheric Geophysical and Astronomical Services Administration (PAGASA)
For Jennie Korbo, a small-scale farmer in Alabel municipality of Sarangani, waiting for the rain was not an option. She grows corn on her rented 1.8-hectare land, which yields 3.7 tons or 148 sacks of corn during a normal farming season. Due to frequent water shortage this season, her corn has been withered and she is expecting to harvest less than 1 ton or about 40 sacks.
Though she had heard about El Niño and its effects on the radio, she took the risk of planting in August 2015 because she could not afford to delay harvest. In addition to PhP7,000 (US$147) annual rent for the farmland, Jennie had borrowed P30,000 ($628) to buy seeds, fertilizer and chemical spray for the corn. With most of her corn damaged, she lost over P10,000 ($209) net profit this season and can pay back only P8,000 ($167) out of her loans. A working mother of five, Jennie is worried her family might remain in debt for several farming seasons to come.
Many landless farmers in Mindanao share similar stories. While they cultivate one of the richest farmlands in the country, they are often chronically food insecure. A single bad harvest can strain their already-poor access to food as well as their income to purchase alternatives. Coupled with low literacy levels and a dependence on rural livelihoods, they find it extremely difficult to cope with the impact of El Niño.
The Department of Agriculture (DA) through its regional office has taken various measures to mitigate the impact of El Niño to support farmers like Jennie. These include distribution to affected farmers of water pumps and replacement seeds of drought-tolerant and early-maturing crop varieties, and the construction and rehabilitation of small impounding projects, diversion dams, and irrigation canals. Pest surveillance and cloud seeding have also taken place. In addition the DA engaged in information and education campaigns to raise awareness on how to cope with El Niño through conducting training on soil and water conservation and climate change adaptation by a shift in cropping calendars.
The provincial and municipal authorities of Sarangani and Alabel are also assisting affected farmers through the loan of tractors to rehabilitate farmlands, purchasing additional rice and corn seeds for distribution, and providing strategic guidance to increase production in areas not as badly affected by El Niño.
The PAGASA predicts that El Niño will remain strong until February and most provinces in central and western Mindanao will continue to experience below-average rainfall from January to April. By the end of April, 85 per cent of the country including the whole of Region XII will face drought. The DA is carrying out an impact assessment on food security with production data to be compiled by March.
Persisting dry conditions and the resulting water shortage may also have health implications. The local health station in Jennie’s neighbourhood reported increased incidence of diarrhoea, cold-like symptoms and hypertension over the recent months. Skin disease is also on the rise. Health workers fear that El Niño may worsen the situation and increase malnutrition among children.
Jennie’s hand pump is drawing less and less water to her farm now. She plans to install additional pipes to reach the receding water table to save her surviving corn.
Extensive damage to rice and corn production in Region XII may worsen the prevailing chronic food insecurity among the vulnerable people in Mindanao.
Amid the response to Typhoon Koppu (known locally as Lando), which battered central and northern Luzon in October, three more weather disturbances affected the Philippines in December.
From 14 to 16 December, Typhoon Melor carved through central Philippines bringing destructive winds of 150 km/h and gusts of up to 185 km/h, and heavy rainfall. 743,000 people along the typhoon’s projected path pre-emptively evacuated to safer ground. Typhoon Melor made five landfalls in the provinces of Northern Samar, Sorsogon, Masbate, Romblon and Oriental Mindoro, leaving a trail of destruction which resulted in 42 deaths, over 270,000 damaged houses and P6.45 billion ($135 million) in damage to agriculture and infrastructure.
Authorities were still assessing the impact of Typhoon Melor when Tropical Depression Onyok made landfall over Davao Oriental province in Mindanao on 18 December. It dumped heavy rains over Mindanao, providing relief to parched lands suffering the effects of El Niño. The tropical depression also enhanced the northeast monsoon, bringing heavy rain over the eastern parts of Luzon, Metro Manila and the Bicol Region and further hampered the recovery in areas affected by Typhoons Koppu and Melor.
The President of the Philippines on 18 December declared a state of national calamity to allow local authorities to access funds from the national budget to hasten rescue, relief, recovery, and rehabilitation efforts.
The Government’s response to the successive weather events was indicative of its efforts to devolve operational leadership for preparedness and response from the national to regional and local authorities. This was supported by the Government’s early warning system that provided timely and improved hazard information to facilitate local action.
Members of the Humanitarian Country Team (HCT) and its partners provided targeted emergency shelter, food and non-food items, logistics, water, sanitation and hygiene, health, early recovery, livelihood, and community engagement support as requested by government departments and affected local authorities, and as assessments revealed the need. This was done in a manner similar to the response to Typhoon Koppu – with assistance mobilised primarily with resources available in the country – following the Government’s preference.
To build on the lessons of the response to recent weather disturbances, the HCT proposed an after action review with the Government in early 2016. In particular, many humanitarian agencies in the Philippines relied on relief items stocked from previous emergency operations to respond to the Government’s request for assistance with in-country resources. These supplies however are finite and need to be replenished ahead of another disaster.
In parallel to the discussion on international resources mobilisation, the HCT will continue to support the Government to develop a framework for joint rapid needs assessments. This will be aided by appropriate technologies and procedures for effective information gathering, sharing and analysis.
As of 4 January, some 16,900 internally displaced people (IDPs) remain in 12 transition sites across Zamboanga City. They have been waiting for a new home where they can rebuild their lives since the September 2013 fighting between government forces and factions of the Moro National Liberation Front. With little progress in the construction of permanent housing, most of these IDPs are expected to remain in the transition sites well past March. In addition, an estimated 7,700 “home-based” IDPs are continually hosted by relatives and friends or renting temporary homes.
Mr. Ola Almgren, the UN Resident and Humanitarian Coordinator in the Philippines, visited Zamboanga City from 10 to 11 December. In transition sites and permanent housing site, Mr. Almgren spoke with camp managers and displaced families who raised concerns over the lack of water and livelihoods. He also met with the city mayor and the Zamboanga Mindanao Humanitarian Team (ZMHT) to discuss remaining humanitarian and recovery needs.
On 17 December, ZMHT members invited sectoral representatives of the city authorities to discuss key residual concerns for the IDPs and ways forward in recovery. CFSI, CRS, FAO, ILO, IOM and UNHCR confirmed to maintain its field presence in Zamboanga into 2016. These agencies will continue to support the city authorities with temporary and permanent shelter, sustainable livelihoods, camp management and protection assistance.
Zamboanga City re-introduced periodic water rationing on 8 January as the water level of the local dam reached a critical level due to the persistent dry spell. On 12 January, the city authorities declared a state of calamity to allow implementation of contingency plans using the Government’s calamity fund. Tension between the displaced families and their host communities is escalating due to insufficient water supply. The impending drought may exacerbate the relationship between the communities.
The report of the Zamboanga Learning Review on Post-Conflict Community Engagement was released on 14 January. The report captures good practices and lessons of the Zamboanga Communications Working Group’s community engagement efforts. The group was established in October 2013 under the leadership of the City’s Public Information Office and comprises international and local aid agencies. It facilitates humanitarian communications and accountability of aid to the displaced families. The report underscores the importance of mainstreaming two-way communication, community participation and common service partnerships in all emergency response programming including in post-conflict settings.


Feedback welcome! You can contact me by emailing<EMAIL_ADDRESS>You have some questions? Check out at first the FAQ page at: http://devops-online.com/splunk-pcap-analyzer
That Add-On is supporting real time network capturing
That Add-On can be used for forwarding PCAP data from an Universal Forwarder to your Indexer
Coming soon...


GAS-LIQUID PHASE EQUILIBRIA IN THE HELIUM-CARBON TETRAFLUORIDE AND HELIUM-CHLOROTRIFLUOROMETHANE
SYSTEMS AT LOW TEMPERATURES AND 20-120 ATMOSPHERES
A THESIS Presented to The Faculty of the Graduate Division by
Yo Kil Yoon
In Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy
In the School of Chemical Engineering
Georgia Institute of Technology
November, 1971


This is an secure website that uses "Cloud-Native Gateway Interface"
Click below to see the script in action!


Get started with Docker Cluster on Azure
Estimated reading time: 9 minutesPrerequisites
- Completed installation of Docker Desktop Enterprise on Windows or Mac, or the Docker Enterprise Engine on Linux.
- Sign up for the following items for your Azure account:
- Service Principal UUID
- Service Principal App Secret
- Subscription UUID
- Tenant UUID
- Organizations wishing to provision roles with explicit permissions should refer to custom roles and Azure Permissions for more information.
More information can be found on obtaining these with either the Azure CLI or through the Azure Portal.
To securely utilize this Azure credential information, we will create a cluster secrets
file which will inject this data into the environment at runtime. For example, create
a file named my-azure-creds.sh
similar to the following containing your credentials:
export ARM_CLIENT_ID='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee'
export ARM_CLIENT_SECRET='ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890abcdef='
export ARM_SUBSCRIPTION_ID='ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj'
export ARM_TENANT_ID='kkkkkkkk-llll-mmmm-nnnn-oooooooooooo'
This file should be treated as sensitive data with file permissions set appropriately. To use this file, we do not source or run this file directly in the shell. Instead, we reference this file via the CLUSTER_SECRETS_FILE variable in our environment before running cluster:
$ export CLUSTER_SECRETS_FILE=~/.my-secrets/my-azure-creds.sh
$ docker cluster create ....
Docker cluster will bindmount this file into its container runtime to inject the credential data as needed.
Create a cluster
When you create a docker cluster in Azure, the cluster created has:
- 3 UCP Managers
- 3 Workers
- 3 DTR Replicas
Create a file called cluster.yml
in your directory and paste this in:
variable:
region: "Azure region to deploy"
ucp_password:
type: prompt
provider:
azurerm:
region: ${region}
cluster:
engine:
version: ee-stable-19.03
ucp:
version: docker/ucp:3.2.0
username: admin
password: ${ucp_password}
dtr:
version: docker/dtr:2.7.1
resource:
azurerm_virtual_machine:
managers:
quantity: 3
registry:
quantity: 3
workers:
quantity: 3
azurerm_lb:
ucp:
instances:
- managers
ports:
- "443:443"
- "6443:6443"
Provide values for the variable section. For instance:
region: "centralus"
The values will be substituted in the cluster definition. This makes it easy to define a reusable cluster definition and then change the variables to create multiple instances of a cluster.
Run docker cluster create --file cluster.yml --name quickstart
$ docker cluster create --file cluster.yml --name quickstart
Please provide a value for ucp_password:
Checking for licenses on Docker Hub
Docker Enterprise Platform 3.0
Planning cluster on azurerm OK
Creating: [===========> ] 19% [ ]
After about 5-10 minutes, depending on the number of resources requested, the cluster will be provisioned in the cloud and Docker Enterprise Platform installation will begin:
$ docker cluster create --file cluster.yml --name quickstart
Please provide a value for ucp_password:
Checking for licenses on Docker Hub
Docker Enterprise Platform 3.0
Planning cluster on azurerm OK
Creating: [==========================================================] 100% OK
Installing Docker Enterprise Platform OK
After about 15-20 minutes, Docker Enterprise installation will complete:
$ docker cluster create --file cluster.yml --name quickstart
Please provide a value for ucp_password:
Checking for licenses on Docker Hub
Docker Enterprise Platform 3.0
Planning cluster on azurerm OK
Creating: [==========================================================] 100% OK
Installing Docker Enterprise Platform OK
Installing Docker Enterprise Engine OK
Installing Docker Universal Control Plane OK
Installing Docker Trusted Registry OK
quickstart
Successfully created context "quickstart"
Connect to quickstart at:
https://ucp-e58dd2a77567-y4pl.centralus.cloudapp.azure.com
e58dd2a77567
After all operations complete succesfully, the cluster ID will be the last statement to print. You can login to the URL and begin interacting with the cluster.
View cluster information
To see an inventory of the current clusters you’ve created, run docker cluster ls
$ docker cluster ls
ID NAME PROVIDER ENDPOINT STATE
e58dd2a77567 quickstart azurerm https://ucp-e58dd2a77567-y4pl.centralus.cloudapp.azure.com running
To see detailed information about an individual cluster, run docker cluster inspect quickstart
$ docker cluster inspect quickstart
name: quickstart
shortid: e58dd2a77567
variable:
region: centralus
ucp_password: xxxxxxxxxx
provider:
azurerm:
environment: public
region: centralus
version: ~> 1.32.1
cluster:
dtr:
version: docker/dtr:2.7.1
engine:
storage_volume: /dev/disk/azure/scsi1/lun0
url: https://storebits.docker.com/ee/ubuntu/sub-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
version: ee-stable-19.03
kubernetes:
cloud_provider: true
load_balancer: false
nfs_storage: false
subscription:
id: sub-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
license: /data/license/docker-ee.lic
trial: "True"
ucp:
azure_ip_count: "128"
pod_cidr: <IP_ADDRESS>/16
username: admin
version: docker/ucp:3.2.0
resource:
azurerm_lb:
ucp:
_running:
dns_name: ucp-e58dd2a77567-y4pl.centralus.cloudapp.azure.com
path: /data/ssl-certs/
ports:
- 443:443
- 6443:6443
azurerm_virtual_machine:
managers:
data_disk_size: "40"
enable_public_ips: "true"
instance_type: Standard_DS3_v2
os: Ubuntu 18.04
quantity: 3
role: manager
registry:
data_disk_size: "40"
enable_public_ips: "true"
instance_type: Standard_DS3_v2
os: Ubuntu 18.04
quantity: 3
role: dtr
workers:
data_disk_size: "40"
enable_public_ips: "true"
instance_type: Standard_DS3_v2
os: Ubuntu 18.04
quantity: 3
role: worker
The information displayed by docker cluster inspect
can be used as a cluster definition to clone the cluster.
Use context
Docker cluster creates a context on your local machine. To use this context, and interact with the cluster, run docker context use quickstart
$ docker context use quickstart
quickstart
Current context is now "quickstart"
To verify that the client is connected to the cluster, run docker version
$ docker version
Client: Docker Engine - Enterprise
Version: 19.03.1
API version: 1.40
Go version: go1.12.5
Git commit: f660560
Built: Thu Jul 25 20:56:44 2019
OS/Arch: darwin/amd64
Experimental: false
Server: Docker Enterprise 3.0
Engine:
Version: 19.03.1
API version: 1.40 (minimum version 1.12)
Go version: go1.12.5
Git commit: f660560
Built: Thu Jul 25 20:57:45 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683
Universal Control Plane:
Version: 3.2.0
ApiVersion: 1.40
Arch: amd64
BuildTime: Wed Jul 17 23:27:40 UTC 2019
GitCommit: 586d782
GoVersion: go1.12.7
MinApiVersion: 1.20
Os: linux
Kubernetes:
Version: 1.14+
buildDate: 2019-06-06T16:18:13Z
compiler: gc
gitCommit: 7cfcb52617bf94c36953159ee9a2bf14c7fcc7ba
gitTreeState: clean
gitVersion: v1.14.3-docker-2
goVersion: go1.12.5
major: 1
minor: 14+
platform: linux/amd64
Calico:
Version: v3.5.7
cni: v3.5.7
kube-controllers: v3.5.7
node: v3.5.7
$ docker context use default
default
Current context is now "default"
Scale a cluster
Open cluster.yml
. Change the number of workers to 6:
resource:
azurerm_virtual_machine:
managers:
quantity: 3
registry:
quantity: 3
workers:
quantity: 6
Since the cluster is already created, the next step is to update
the cluster’s
desired state. Run docker cluster update quickstart --file cluster.yml
$ docker cluster update quickstart --file cluster.yml
Docker Enterprise Platform 3.0
Preparing quickstart [OK]
Planning cluster on azure [OK]
Updating: [================== ] 30%
After about 10 minutes the update operation adds the new nodes and joins them to the cluster:
$ docker cluster update quickstart --file examples/docs.yml
Please provide a value for ucp_password
Docker Enterprise Platform 3.0
Preparing quickstart [OK]
Planning cluster on azure [OK]
Updating: [==============================================================] 100%
Installing Docker Enterprise Platform Requirements [OK]
Installing Docker Enterprise Engine [OK]
Installing Docker Universal Control Plane [OK]
Installing Docker Trusted Registry [OK]
e58dd2a77567
A quick docker cluster inspect e58dd2a77567
will show the worker count increased:
...
workers:
data_disk_size: "40"
enable_public_ips: "true"
instance_type: Standard_DS3_v2
os: Ubuntu 18.04
quantity: 6
role: worker
Backup a cluster
Before we proceed with more operations on the cluster, let’s take a backup of the running cluster. To create a full backup of the cluster, run docker cluster backup quickstart --file "backup-$(date '+%Y-%m-%d').tar.gz"
Provide a passphrase to encrypt the UCP backup.
$ docker cluster backup quickstart --file "backup-$(date '+%Y-%m-%d').tar.gz"
Passphrase for UCP backup:
Docker Enterprise Platform 3.0
Create archive file. [OK]
Backup of e58dd2a77567 saved to backup-2019-05-07.tar.gz
Save the backups on external storage for disaster recovery.
To restore a cluster, run docker cluster restore quickstart --file backup-2019-05-07.tar.gz
Provide the passphrase from the backup step to decrypt the UCP backup.
Upgrade a cluster
Open cluster.yml
. Change the cluster versions:
cluster:
dtr:
version: docker/dtr:2.7.0
engine:
version: ee-stable-19.03.01
ucp:
version: docker/ucp:3.2.0
Run docker cluster update quickstart --file cluster.yml
$ docker cluster update quickstart --file examples/docs.yml
Please provide a value for ucp_password
Docker Enterprise Platform 3.0
Preparing quickstart [OK]
Planning cluster on azure [OK]
Updating: [==============================================================] 100%
Installing Docker Enterprise Platform Requirements [OK]
Upgrading Docker Enterprise Engine [OK]
Upgrading Docker Universal Control Plane [OK]
Upgrading Docker Trusted Registry [OK]
e58dd2a77567
Destroy a cluster
When the cluster has reached end-of-life, run docker cluster rm quickstart
$ docker cluster rm quickstart
Removing quickstart
Removing: [==========================================================] 100% OK
quickstart
e58dd2a77567